Skip to content

Commit a61ddc4

Browse files
committed
Add note on gdb executable name
This paragraph was lifted directly from The Embedded Rust Book: https://github.com/rust-embedded/book/blob/master/src/start/qemu.md
1 parent fbe0999 commit a61ddc4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/05-led-roulette/flash-it.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,15 @@ available.
8282
I mentioned that OpenOCD provides a GDB server so let's connect to that right now:
8383

8484
``` console
85-
$ arm-none-eabi-gdb -q target/thumbv7em-none-eabihf/debug/led-roulette
85+
$ <gdb> -q target/thumbv7em-none-eabihf/debug/led-roulette
8686
Reading symbols from target/thumbv7em-none-eabihf/debug/led-roulette...done.
8787
(gdb)
8888
```
8989

90+
**NOTE**: `<gdb>` represents a GDB program capable of debugging ARM binaries.
91+
This could be `arm-none-eabi-gdb`, `gdb-multiarch` or `gdb` depending on your
92+
system -- you may have to try all three.
93+
9094
This only opens a GDB shell. To actually connect to the OpenOCD GDB server, use the following
9195
command within the GDB shell:
9296

0 commit comments

Comments
 (0)