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 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.