diff --git a/README.md b/README.md index d9f52ef..d12666e 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,8 @@ QEMU cannot be put on the background of the current shell, so you will need to o ./rungdb +`O=0` is however an impossible dream, `O=2` being the default: So get ready for some weird jumps, and `` fun. Why, Linux, why. + ### Kernel module debugging Loadable kernel modules are a bit trickier since the kernel can place them at different memory locations depending on load other. diff --git a/runqemu b/runqemu index 01534ef..4d5d932 100755 --- a/runqemu +++ b/runqemu @@ -10,7 +10,7 @@ kgdb=false nographic=false extra_append='' extra_flags='' -while getopts a:dkn OPT; do +while getopts a:dknq OPT; do case "$OPT" in a) arch=$OPTARG