This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: pr9164 patch
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Chris Moller <cmoller at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 8 Feb 2010 18:34:10 -0500
- Subject: Re: pr9164 patch
- References: <4B709B9A.3050001@redhat.com>
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