This includes both separate .md files, and documentation that was on the head of the .S source files. Retest everything as this was done, and fix a few easy things.
29 lines
465 B
Plaintext
29 lines
465 B
Plaintext
target remote localhost:1234
|
|
set architecture i8086
|
|
# These would be possible. But they break the UI too much...
|
|
#layout asm
|
|
#layout regs
|
|
|
|
define hook-stop
|
|
info registers
|
|
printf "\n"
|
|
x/16i $pc - 8
|
|
printf "\n"
|
|
end
|
|
|
|
break *0x7c00
|
|
continue
|
|
|
|
# Magic address. Add a:
|
|
#
|
|
# mov %ax, 0x9000
|
|
#
|
|
# to your program to break there. Shortcut macro on common.h:
|
|
#
|
|
# DBG
|
|
awatch *0x9000
|
|
commands
|
|
silent
|
|
printf "0x9000 awatch access debug break\n"
|
|
end
|