Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Debugging with gdb
@ 1996-04-01  5:00 Chris Mungall
  1996-04-09  4:00 ` Jeff Diewald
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Mungall @ 1996-04-01  5:00 UTC (permalink / raw)


How do I get gdb to trap unaligned accesses (ie the equivalent of
0x<address>/i in dbx)?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Debugging with gdb
  1996-04-01  5:00 Debugging with gdb Chris Mungall
@ 1996-04-09  4:00 ` Jeff Diewald
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Diewald @ 1996-04-09  4:00 UTC (permalink / raw)



In article <4jo6t6$6r9@mercury.hgmp.mrc.ac.uk>, Chris Mungall <cmungall@hgmp.mrc.ac.uk> writes:
|>How do I get gdb to trap unaligned accesses (ie the equivalent of
|>0x<address>/i in dbx)?
|>

Chris,

   I don't know about gdb, but 0x<address>/i is generally used 
for displaying memory addresses and not for unaligned access trapping.

   The Ladebug debugger has a "catch unaligned" command that allows
you to trap unaligned accesses.  There's a corresponding "ignore
unaligned" command to turn unaligned access trapping off.  The default
is to ignore unaligned accesses.  

   This is covered in chapter 9 of the latest Ladebug documentation.    
-------------------------------------------------------------------------
Jeff Diewald			EASYNET:   VIRRUS::DIEWALD
Ladebug group			INTERNET:  diewald@zko.dec.com
Digital Equipment Corp.

Note: I don't read every article in this group.  If you have debugger 
questions, I may be able to get you an answer.  You're much more likely
to get an answer if you put "Ladebug" somewhere in your subject line.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-09  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-01  5:00 Debugging with gdb Chris Mungall
1996-04-09  4:00 ` Jeff Diewald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox