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] |
On Mon, Feb 08, 2010 at 08:23:27PM -0500, Chris Moller wrote: > I did--it's 4 bytes on both i386 and x86_64. I just don't know about > non-intel archs. No, it should be 8 bytes on x86_64. (gdb) list x 1 #include <stdlib.h> 2 3 size_t x; (gdb) ptype x type = long unsigned int (gdb) p sizeof(x) $2 = 8 -- Daniel Jacobowitz CodeSourcery
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |