This is the mail archive of the gdb-patches@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: pr9164 patch


On Mon, Feb 08, 2010 at 06:17:46PM -0500, Chris Moller wrote:
> I was rooting around in the gdb c++ bug list a bit ago and came
> across this one: "sizeof should have unsigned type in print
> expressions."  Assuming that, as in C/C++, size_t is typedeffed from
> unsigned int, the fix is a one-line patch in c-exp.y, attached.  If
> that assumption is wrong, well, never mind...

Try it on x86_64 - size_t is platform dependent, and it's often
unsigned long.

-- 
Daniel Jacobowitz
CodeSourcery


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