qemu and linux as submodlues, S98 vs S99, readme benefits of Ctrl + C

This commit is contained in:
Ciro Santilli
2017-07-08 09:17:36 +01:00
parent 2ff3648e8f
commit 9133fe023c
10 changed files with 26 additions and 6 deletions

View File

@@ -122,6 +122,8 @@ TODO: Ctrl + C kills the emulator, it is not sent to guest processes. See:
- <https://github.com/cloudius-systems/osv/issues/49>
- <https://unix.stackexchange.com/questions/167165/how-to-pass-ctrl-c-in-qemu>
This is however fortunate when running QEMU with GDB, as the Ctrl + C reaches GDB and breaks.
## Automatic startup commands
When debugging a module, it becomes tedious to wait for build and re-type:
@@ -131,10 +133,14 @@ When debugging a module, it becomes tedious to wait for build and re-type:
Instead, you can add your test commands to:
rootfs_overlay/etc/init.d/S99
cd rootfs_overlay/etc/init.d
cp S98 S99
vim S99
and they will be run automatically before the login prompt.
`S99` is already gitignored for you.
## Debugging
To GDB the Linux kernel, first run: