This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: inconsistency in printing out the value of an unsigned short in gdb
- From: Daniel Jacobowitz <drow at false dot org>
- To: Erik Niessen <erik dot niessen at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 25 Sep 2007 10:19:47 -0400
- Subject: Re: inconsistency in printing out the value of an unsigned short in gdb
- References: <f21fe8a50709250710i75147c23o5015a81e3a470a78@mail.gmail.com>
On Tue, Sep 25, 2007 at 04:10:51PM +0200, Erik Niessen wrote:
> Any ideas??
Probably inaccurate debug information from your compiler, and
different generated code. The value has been extended for some reason
before GDB got a chance to print it.
--
Daniel Jacobowitz
CodeSourcery