summaryrefslogtreecommitdiffstats
path: root/documentation/gdb commands
blob: 416a758701572a285b767d9101a237ad618d31b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
GDB COMMANDS
============

qemu must be started with "-s" option (shorthand for "-gdb tcp::1234")

source gdbscript

file MemtestEfi.efi	|| load file   ...no debugging symbols found...done
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