www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/11/21:40:58

Date: Wed, 11 Feb 1998 18:40:21 -0800 (PST)
Message-Id: <199802120240.SAA17081@adit.ap.net>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Debugging inline asm?

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019