readme: document gem5 userland arm unexplicable jump

This commit is contained in:
Ciro Santilli
2018-03-25 12:21:48 +01:00
parent 233e0b485c
commit 2927ed330a

View File

@@ -2679,6 +2679,15 @@ First make sure that for your arch the kernel debugging on the given target work
Next, follow the exact same steps explained at <<gdb-step-debug-userland-non-init-without--d>>, but passing `-g` to every command as usual.
But then TODO (I'll still go crazy one of those days): for `arm`, while debugging `/myinsmod.out /hello.ko`, after then line:
....
23 if (argc < 3) {
24 params = "";
....
I press `n`, it just runs the program until the end, instead of stopping on the next line of execution. The module does get inserted normally.
=== gem5 checkpoint
Analogous to QEMU's <<snapshot>>, but better since it can be started from inside the guest, so we can easily checkpoint after a specific guest event, e.g. just before `init` is done.