This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inconsistency in printing out the value of an unsigned short in gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]