diff options
| author | Matt Borgerson <contact@mborgerson.com> | 2019-12-17 21:40:43 -0700 |
|---|---|---|
| committer | Matt Borgerson <contact@mborgerson.com> | 2019-12-17 21:40:43 -0700 |
| commit | 2434499ed2f0bec9d0584dc936f41dcc32b66997 (patch) | |
| tree | 7d041d86a2b599f55db74a99c9e62d7159197beb | |
| parent | 167eaa3d4f2e0d6ae6c57391f309e3e7e14f4bf1 (diff) | |
Move demo files to demo dir
| -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 |
