summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRegia König2022-08-22 15:26:23 +0200
committerRegia König2022-08-22 15:26:23 +0200
commit9c320b5d886af0abb27fce694f5f97e472bef3d6 (patch)
treeaea61719bb280797c8f53ec5150f5b10c79bec8b
parentSave commands to get a successfull execution with gdb (diff)
downloadmemtest86-9c320b5d886af0abb27fce694f5f97e472bef3d6.tar.gz
memtest86-9c320b5d886af0abb27fce694f5f97e472bef3d6.tar.xz
memtest86-9c320b5d886af0abb27fce694f5f97e472bef3d6.zip
Finish gdb_procedure documentation
-rw-r--r--GNU_efi_HelloWorld/gdb_procedure6
-rw-r--r--documentation/GDB commands13
-rw-r--r--test_code/OVMF_VARS.fdbin540672 -> 540672 bytes
3 files changed, 19 insertions, 0 deletions
diff --git a/GNU_efi_HelloWorld/gdb_procedure b/GNU_efi_HelloWorld/gdb_procedure
index db39c70..2ee853f 100644
--- a/GNU_efi_HelloWorld/gdb_procedure
+++ b/GNU_efi_HelloWorld/gdb_procedure
@@ -15,4 +15,10 @@
(gdb) b efi_main
(gdb) b *0x657e260
+(gdb) info b
+(gdb) target remote localhost:1234
+(gdb) c
+
+(gdb) layout asm
+(gdb) layout src
diff --git a/documentation/GDB commands b/documentation/GDB commands
index ef02570..14b793b 100644
--- a/documentation/GDB commands
+++ b/documentation/GDB commands
@@ -99,6 +99,19 @@ gdb --tui
- ctrl+x o || change active window
+ - ctrl+x 1 || use TUI layout with one window
+ - ctrl+x 2 || use TUI layout with two windows
+
+ - PgUp || scroll the active window one page up
+ - PgDn || scroll the active window one page down
+
+ - Up || scroll the active window one line up
+ - Down || scroll the active window one lin down
+ - Right
+ - Left
+
+ - C+L || refresh the screen
+
VARIABLES
info locals
info variables
diff --git a/test_code/OVMF_VARS.fd b/test_code/OVMF_VARS.fd
index 5cc4003..cfa9ff2 100644
--- a/test_code/OVMF_VARS.fd
+++ b/test_code/OVMF_VARS.fd
Binary files differ