From a066fafe7853ab5cb2414cb532a19c3745c0e418 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Wed, 14 Jun 2017 09:10:49 +0100 Subject: [PATCH] Fix runqemu -q, and complain about O=2 --- README.md | 2 ++ runqemu | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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