Date: Wed, 11 Feb 1998 18:40:21 -0800 (PST) Message-Id: <199802120240.SAA17081@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Debugging inline asm? Precedence: bulk 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