www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/11/14:30:49

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Debugging inline asm?
Date: Wed, 11 Feb 1998 11:02:36 -0800
Organization: Hewlett Packard
Lines: 16
Message-ID: <6bsskb$kgs$1@rosenews.rose.hp.com>
References: <34E1EA49 DOT 1F3FEC4E AT iafrica DOT com>
NNTP-Posting-Host: ros51675cra.rose.hp.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

HTH

Andy

- Raw text -


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