Add an example host to demonstrate gdbstub

This commit is contained in:
Hamid Rostami 2026-04-15 22:41:54 +01:00
parent 1f7132e1e8
commit faecd6bbef
4 changed files with 2000 additions and 0 deletions

View file

@ -0,0 +1,7 @@
TOPDIR=../..
all:
gcc -Wall -Werror -Wno-error=unused-function -pedantic -std=c99 -O2 -DUVM32_ERROR_STRINGS -DUVM32_MEMORY_SIZE=65536 -DGDBSTUB_ARCH_UVM32 -DGDBSTUB_IMPLEMENTATION -I${TOPDIR}/uvm32 -I${TOPDIR}/common -o host-gdbstub ${TOPDIR}/uvm32/uvm32.c host-gdbstub.c
clean:
rm -f host-gdbstub