From 9c320b5d886af0abb27fce694f5f97e472bef3d6 Mon Sep 17 00:00:00 2001 From: Regia König Date: Mon, 22 Aug 2022 15:26:23 +0200 Subject: Finish gdb_procedure documentation --- GNU_efi_HelloWorld/gdb_procedure | 6 ++++++ documentation/GDB commands | 13 +++++++++++++ test_code/OVMF_VARS.fd | Bin 540672 -> 540672 bytes 3 files changed, 19 insertions(+) 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 Binary files a/test_code/OVMF_VARS.fd and b/test_code/OVMF_VARS.fd differ -- cgit v1.2.3-55-g7522