3 ms·
The commands you want are "stepi" (single-step one instruction), "disass" (disassemble at the current point in the program), and "info registers" (show you what
by cfallin 14y ago
The commands you want are "stepi" (single-step one instruction), "disass" (disassemble at the current point in the program), and "info registers" (show you what's in all of the registers). These work equally well for hand-written assembly and for any arbitrary compiled program.
- stonefroot 14y agocfallin: many, many thanks. I guess should read the gdb manual, and, if it's anything like the as manual (which I've learned is not always the full story), the source too.