Mail Archives: djgpp/1998/02/11/21:40:58
At 11:02 2/11/1998 -0800, Andrew Crabtree wrote:
>
>Bruce Merry (the Almighty Cheese) wrote in message
><34E1EA49 DOT 1F3FEC4E AT iafrica DOT com>...
>>So I need a debugger that will allow me to go 1 assembly
>>instruction at a time and check the registers and FP stack and so on as
>>I go.
>In gdb type 'si' for step instruction. 'info regs' dumps the registers out.
>You can print
>individual regs with 'p $reg' like 'p $eax'. It might also be useful to do
>a 'p/i $eip' which
>dumps out the instruction. Or 'display/i $eip' even.
Note that GDB currently doesn't display the FPU status or registers. I think
this will be fixed soon. Otherwise, you can use `edebug' or `fsdb', both of
which are included with the base DJGPP distribution.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -