Fix runqemu -q, and complain about O=2

This commit is contained in:
Ciro Santilli
2017-06-14 09:10:49 +01:00
parent 4d6f260825
commit a066fafe78
2 changed files with 3 additions and 1 deletions

View File

@@ -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: <https://stackoverflow.com/questions/29151235/how-to-de-optimize-the-linux-kernel-to-and-compile-it-with-o0> So get ready for some weird jumps, and `<value optimized out>` 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.

View File

@@ -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