diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | demo/demo.c (renamed from demo.c) | 0 | ||||
| -rw-r--r-- | demo/demo.gdbinit (renamed from demo.gdbinit) | 0 |
4 files changed, 3 insertions, 3 deletions
@@ -47,7 +47,7 @@ $(error Please specify a supported architecture) endif ifeq ($(INCLUDE_DEMO),1) -OBJECTS += demo.o +OBJECTS += demo/demo.o endif all: $(TARGET) @@ -27,7 +27,7 @@ The intent for this flat binary is to be trivially loaded and jumped to. Demo ---- -In `demo.c` there is a simple function that's used for demonstration and +In `demo/demo.c` there is a simple function that's used for demonstration and testing. To test the GDB stub out, you can launch an instance of the full-system emulator [QEMU](https://www.qemu.org/) as follows: @@ -41,7 +41,7 @@ You can then launch your local GDB client with the `demo.gdbinit` script to get your GDB client to connect to the virtual serial port and begin debugging the demo application: - gdb --command=demo.gdbinit + gdb --command=demo/demo.gdbinit For example, step a couple of times and print out the value of `x`: diff --git a/demo.gdbinit b/demo/demo.gdbinit index 19be38e..19be38e 100644 --- a/demo.gdbinit +++ b/demo/demo.gdbinit |
