gdb-multiarch

This commit is contained in:
Roman Frołow
2019-12-30 12:23:20 +01:00
parent a46be27bce
commit 84783bca5e

View File

@@ -71,6 +71,7 @@ available.
I mentioned that OpenOCD provides a GDB server so let's connect to that right now:
``` console
# On Ubuntu use `gdb-mutliarch -q target/thumbv6m-none-eabi/debug/rustled`
$ arm-none-eabi-gdb -q target/thumbv6m-none-eabi/debug/rustled
Reading symbols from target/thumbv6m-none-eabi/debug/rustled...done.
(gdb)
@@ -162,4 +163,4 @@ break rustled::main
continue
```
Now we can learn how to debug code on the micro:bit.
Now we can learn how to debug code on the micro:bit.