qemurr: create

qemu: start documenting unmerged replay reverse debugging while testing it
This commit is contained in:
Ciro Santilli
2018-08-08 00:41:12 +01:00
parent 19f4d00f9b
commit 02e294c62c
5 changed files with 84 additions and 25 deletions

14
rungdb
View File

@@ -7,7 +7,8 @@ before=
lx_symbols="-ex 'lx-symbols ../kernel_module-1.0/' \\
"
kgdb=false
while getopts A:a:b:gkL:n:X OPT; do
docontinue=true
while getopts A:a:b:CgkL:n:X OPT; do
case "$OPT" in
A)
after="$OPTARG"
@@ -18,6 +19,10 @@ while getopts A:a:b:gkL:n:X OPT; do
b)
before="$OPTARG"
;;
C)
# No Continue.
docontinue=false
;;
g)
gem5=true
;;
@@ -84,7 +89,12 @@ ${gdb} \
-ex 'file vmlinux' \\
-ex 'target remote localhost:${common_gdb_port}' \\
${brk} \
-ex 'continue' \\
"
fi
if "$docontinue"; then
echo asdf
cmd="${cmd} \
-ex continue \\
${lx_symbols} \
"
fi