Commit 9d8cfaa5 authored by James Foster's avatar James Foster

Add script to install GEF. Add `run-debug` to `GNUmakefile`.

parent db1c4ebc
......@@ -242,6 +242,8 @@ run-gdb-console: $(QEMUIMAGEFILES) check-qemu-console
run-gdb-graphic: $(QEMUIMAGEFILES) check-qemu
$(call run,$(QEMU_PRELOAD) $(QEMU) $(QEMUOPT) -S -gdb tcp::12949 $(QEMUIMG) &,QEMU $<)
$(call run,sleep 0.5; gdb -x build/chickadee.gdb,GDB)
run-debug:
$(call run,gdb -x build/chickadee.gdb,GDB)
run-$(RUNSUFFIX): run
run-graphic-$(RUNSUFFIX): run-graphic
......
$!/bin/bash
# install GEF (https://gef.readthedocs.io/en/master/)
curl -L https://github.com/hugsy/gef/raw/master/gef.py > ~/.gdbinit-gef.py
echo source ~/.gdbinit-gef.py >> ~/.gdbinit
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment