From 2927ed330a08ec46d883e6c4af78099210a4860b Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sun, 25 Mar 2018 12:21:48 +0100 Subject: [PATCH] readme: document gem5 userland arm unexplicable jump --- README.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.adoc b/README.adoc index 7081b9b..5dc6af6 100644 --- a/README.adoc +++ b/README.adoc @@ -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 <>, 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 <>, 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.