mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-11 07:10:59 +00:00
23 lines
471 B
Markdown
23 lines
471 B
Markdown
# TODO
|
|
|
|
## Add debugging targets to Makefile
|
|
|
|
sudo apt installl gdb-multiarch
|
|
|
|
qemu-gdb:
|
|
$(DOCKER_CMD) -p 1234:1234 $(UTILS_CONTAINER) $(QEMU_CMD) -s -S
|
|
|
|
gdb-multiarch kernel8.img -ex "target remote :1234"
|
|
set architecture aarch64
|
|
symbols-file ??
|
|
|
|
combine this with rust-gdb?
|
|
|
|
## Find a way to easily switch betwenn release build and local development
|
|
|
|
```toml
|
|
[patch.crates-io]
|
|
cortex-a = { path = "../../cortex-a" }
|
|
register = { path = "../../register-rs" }
|
|
```
|