🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #450

assembly

#450
From: Stu Grossman
Date: Wed, 07 Oct 1992 17:14
7 lines
845 bytes
There is a much easier way to do what you want by using the `display' command.
display causes GDB to automatically display an expression whenever you get back
to command level.  So, the command `display/i $pc' will cause the next
instruction to be printed out in assembly language every time you get back to
command level.  You can also use `si' as an abbreviation for `stepi'.

		Stu Grossman
Technical Details
Message-ID: <9210071714.AA10252@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!grossman
References: <1992Oct6.144220.2790@unlinfo.unl.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!grossman
From: grossman@cygnus.com (Stu Grossman)
Subject: assembly
Message-ID: <9210071714.AA10252@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <1992Oct6.144220.2790@unlinfo.unl.edu>
Distribution: gnu
Date: Wed, 7 Oct 1992 17:14:32 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 8