mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
qemurr: create
qemu: start documenting unmerged replay reverse debugging while testing it
This commit is contained in:
14
rungdb
14
rungdb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user