www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/10/10:14:35

X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Mon, 10 Apr 2000 16:49:01 +0200 (MET DST)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
X-Sender: broeker AT acp3bf
To: djgpp-workers AT delorie DOT com
Subject: Re: One more GDB for DJGPP little oddity
In-Reply-To: <200004101325.JAA17297@delorie.com>
Message-ID: <Pine.LNX.4.10.10004101647460.10326-100000@acp3bf>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 10 Apr 2000, Dieter Buerssner wrote:

> > What's wrong with having 12 bytes displayed?
> 
> I think, it is misleading to print 12 bytes, for a register that only 
> containes 10 bytes. The additional 2 bytes are garbage. 

But how is gdb supposed to know that? sizeof(long double) *is* 12, after
all, and the p /x commands asks for display as single bytes. In that
special case, I fail to see any error in displaying the two 'fill' bytes,
additionally.

Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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