diff options
author | Regia König | 2022-08-08 15:21:53 +0200 |
---|---|---|
committer | Regia König | 2022-08-08 15:21:53 +0200 |
commit | d287b9ce162b97cdd848cb41fec84c4c7adf9d9e (patch) | |
tree | 3db2370ff8298665b57a376f6e1b9eefdc1e9d8d /documentation | |
parent | last changes (diff) | |
download | memtest86-d287b9ce162b97cdd848cb41fec84c4c7adf9d9e.tar.gz memtest86-d287b9ce162b97cdd848cb41fec84c4c7adf9d9e.tar.xz memtest86-d287b9ce162b97cdd848cb41fec84c4c7adf9d9e.zip |
start documentation
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/debug statement | 1 | ||||
-rw-r--r-- | documentation/gdb commands | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/documentation/debug statement b/documentation/debug statement new file mode 100644 index 0000000..a8e192c --- /dev/null +++ b/documentation/debug statement @@ -0,0 +1 @@ +DEBUG (("%a: %d\n", _FUNCTION_, _LINE_)); diff --git a/documentation/gdb commands b/documentation/gdb commands new file mode 100644 index 0000000..85bf88e --- /dev/null +++ b/documentation/gdb commands @@ -0,0 +1,19 @@ +GDB COMMANDS +============ + +qemu must be started with "-s" option (shorthand for "-gdb tcp::1234") + +source gdbscript + +file MemtestEfi.efi || load file +info files || get Entry point + sections +file || unload files + +b CoreHandleProtocol | or OutputString + +target remote localhost:1234 + +c +bt || print back_trace of all stack frames +stop || stop program until it reaches a different source line +list || list specified function or line |