https://rust-embedded.github.io/book/start/qemu.html#debugging
Then within the GDB shell we connect to QEMU, which is waiting for a connection on TCP port 3333.
(gdb) target remote :3333
Remote debugging using :3333
Reset () at $REGISTRY/cortex-m-rt-0.6.1/src/lib.rs:473
473 pub unsafe extern "C" fn Reset() -> ! {
instead:
» gdb-multiarch -q target/thumbv7m-none-eabi/debug/examples/hello
Reading symbols from target/thumbv7m-none-eabi/debug/examples/hello...done.
(gdb) target remote :3333
Remote debugging using :3333
Reset () at /home/flip111/.cargo/registry/src/github.com-1ecc6299db9ec823/cortex-m-rt-0.6.7/src/lib.rs:498
498 __pre_init();
ubuntu 18.10
gdb 8.2
rust 1.32