3 ms·
I know my way around GDB, but only as a C debugger. Haven't really used it for Assembly.
by AdmiralAsshat 10y ago
I know my way around GDB, but only as a C debugger. Haven't really used it for Assembly.
- sigjuice 10y ago(gdb) help si Step one instruction exactly. (gdb) help ni Step one instruction, but proceed through subroutine calls. (gdb) help info registers List of integer registers and their contents, for selected stack frame. Register name as argument means describe only that register. (gdb) layout reg # to enable view of registers in split screen Also, you can use register names in expressions. e.g. p $r11 All of this is applicable when debugging a C program as well.
- AdmiralAsshat 10y ago`layout reg` Did exactly what I wanted. Thank-you so much!