-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
low priorityAbsolutely no rush to deal with thisAbsolutely no rush to deal with this
Description
I'm having a similar issue to (#7) at the moment . I'm on arch linux. I run
cargo embed --example init
from the 05-meet-your-software directory, which seems to work. Then I'm getting this, instead of what's indicated in the book.
% arm-none-eabi-gdb ../../../target/thumbv7em-none-eabihf/debug/examples/init
...
Reading symbols from ../../../target/thumbv7em-none-eabihf/debug/examples/init...
(gdb) target remote :1337
Remote debugging using :1337
cortex_m::asm::wfi ()
at /home/dave/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/asm.rs:56
56 }
(gdb) b main
Breakpoint 1 at 0x15c: file mdbook/src/05-meet-your-software/examples/init.rs, line 10.
Note: automatically using hardware breakpoints for read-only addresses.
(gdb) c
Continuing.
^C
Program received signal SIGINT, Interrupt.
cortex_m::asm::wfi ()
at /home/dave/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/asm.rs:56
56 }
(gdb) quit
A debugging session is active.
Inferior 1 [process 1] will be detached.
Quit anyway? (y or n) y
Detaching from program: /home/dave/rust-discovery-mb2/target/thumbv7em-none-eabihf/debug/examples/init, process 1
Ending remote debugging.
[Inferior 1 (process 1) detached]
It just hangs after continue, and I have to interrupt it.
I've been trying to trouble shoot the issue, but no luck so far. Any help would be appreciated. Thanks.
mattmswang
Metadata
Metadata
Assignees
Labels
low priorityAbsolutely no rush to deal with thisAbsolutely no rush to deal with this