aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Borgerson <contact@mborgerson.com>2019-12-17 21:40:43 -0700
committerMatt Borgerson <contact@mborgerson.com>2019-12-17 21:40:43 -0700
commit2434499ed2f0bec9d0584dc936f41dcc32b66997 (patch)
tree7d041d86a2b599f55db74a99c9e62d7159197beb
parent167eaa3d4f2e0d6ae6c57391f309e3e7e14f4bf1 (diff)
Move demo files to demo dir
-rw-r--r--Makefile2
-rw-r--r--README.md4
-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
diff --git a/Makefile b/Makefile
index 446f281..56ab242 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
diff --git a/README.md b/README.md
index 5146ac6..2342168 100644
--- a/README.md
+++ b/README.md
@@ -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.c b/demo/demo.c
index d1f18b7..d1f18b7 100644
--- a/demo.c
+++ b/demo/demo.c
diff --git a/demo.gdbinit b/demo/demo.gdbinit
index 19be38e..19be38e 100644
--- a/demo.gdbinit
+++ b/demo/demo.gdbinit