This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb at sourceware dot org, Siddhesh Poyarekar <siddhesh at redhat dot com>
- Date: Sun, 30 Sep 2012 09:56:30 -0700
- Subject: Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST
- References: <20120928173229.GA10406@host2.jankratochvil.net>
> BTW for size_t/ssize_t format string is "%z".
Unfortunately, that's C99... Not sure what the best approach would
be - I think people typically cast to long or unsigned long and
then use the us %l or %ul.
--
Joel