-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter 5.3: unexpected SIGINT
s in gdb on M1 Mac
#517
Comments
I’m happy to dig further, but so far I was unable to understand where that message is even coming from — most of my experience with GDB came from couple of hours of reading while debugging this and #515 :) |
probe-rs/probe-rs#1235 points out that microbit v2.20/v2.21 use different interface chip, and it seems like it might behave slightly differently from v2.0. I have not looked into validating this hunch but leaving the link here just in case. |
Also running into this on M1 mac. Seems like it's behaving fine other than the message printing out in gdb. |
Running into this same issue. |
I had this issue too. The folks in the Rust Embedded Matrix room took a look, and could not see why it happens. However, you can just type |
I am not sure if this causes any actual issues as of right now, so this might be mostly to get pointers for further digging.
When going through the
Debug it
section, I'm seeinga) unexpected
SIGINT
right afterbreak main
b)
SIGINT
when reaching line 16 (==loop {}
)I also noticed that if I start
stepi
after breaking onbreak main
, I getSIGINT
after every command.Full GDB session:
Environment:
❯ sw_vers -productVersion
:13.2.1
❯ rustc -V
:rustc 1.68.0 (2c8cc3432 2023-03-06)
❯ cargo embed --version
:cargo embed 0.16.0
(also tried with Add support formonitor reset
andmonitor reset halt
commands probe-rs/probe-rs#1565 based off currentmaster
)❯ arm-none-eabi-gdb --version
:GNU gdb (Arm GNU Toolchain 12.2 (Build arm-12.24)) 12.1.90.20221210-git
cargo embed --target thumbv7em-none-eabihf --features v2
The text was updated successfully, but these errors were encountered: