From: diewald@virrus.zko.dec.com (Jeff Diewald)
Subject: Re: Debugging with gdb
Date: 1996/04/09 [thread overview]
Message-ID: <4kdskn$qnl@zk2nws.zko.dec.com> (raw)
In-Reply-To: 4jo6t6$6r9@mercury.hgmp.mrc.ac.uk
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.
prev parent reply other threads:[~1996-04-09 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-01 5:00 Debugging with gdb Chris Mungall
1996-04-09 4:00 ` Jeff Diewald [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox