git.annexia.org
/
pyrit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e36df2
)
Add debug rule.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 25 Oct 2019 12:34:48 +0000
(13:34 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 25 Oct 2019 17:16:47 +0000
(18:16 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
611a5ea
..
c8fd2ee
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,4
+15,11
@@
runbochs: pyrit.img
dis: pyrit.img
objdump -D -b binary -m i8086 $<
+debug: pyrit.img
+ qemu-system-i386 -S -s -fda $< &
+ gdb -ex "target remote tcp::1234" \
+ -ex "set architecture i8086" \
+ -ex "break *0x7c00" \
+ -ex "cont"
+
.PHONY: run runbochs