mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
KGDB!
This commit is contained in:
7
runqemu
7
runqemu
@@ -8,7 +8,7 @@ debug=false
|
||||
nographic=false
|
||||
extra_append=''
|
||||
extra_flags=''
|
||||
while getopts a:dn OPT; do
|
||||
while getopts a:dkn OPT; do
|
||||
case "$OPT" in
|
||||
a)
|
||||
arch=$OPTARG
|
||||
@@ -17,6 +17,11 @@ while getopts a:dn OPT; do
|
||||
debug=true
|
||||
extra_flags="$extra_flags -S -s"
|
||||
;;
|
||||
k)
|
||||
debug=true
|
||||
extra_append="$extra_append kgdbwait kgdboc=ttyS0,115200"
|
||||
extra_flags="$extra_flags -serial tcp::1234,server,nowait"
|
||||
;;
|
||||
n)
|
||||
extra_append="$extra_append console=ttyS0"
|
||||
extra_flags="$extra_flags -nographic"
|
||||
|
||||
Reference in New Issue
Block a user