mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
--debug-vm-ex for the win
This commit is contained in:
10
README.adoc
10
README.adoc
@@ -10149,12 +10149,20 @@ This is of course trivial since they are just regular userland programs on the h
|
||||
./run --debug-vm
|
||||
....
|
||||
|
||||
Or for a faster development loop:
|
||||
Or for a faster development loop you can pass `-ex` command as a semicolon separated list:
|
||||
|
||||
....
|
||||
./run --debug-vm-ex 'break qemu_add_opts;run'
|
||||
....
|
||||
|
||||
which is equivalent to the more verbose:
|
||||
|
||||
....
|
||||
./run --debug-vm-args '-ex "break qemu_add_opts" -ex "run"'
|
||||
....
|
||||
|
||||
if you ever want need anything besides -ex.
|
||||
|
||||
Or if things get really involved and you want a debug script:
|
||||
|
||||
....
|
||||
|
||||
Reference in New Issue
Block a user