This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb patch for 64-bit enum values on 64-bit hosts (ia64-linux)
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: gdb patch for 64-bit enum values on 64-bit hosts (ia64-linux)
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Tue, 20 Jun 2000 20:35:22 -0700
- CC: James Wilson <wilson at cygnus dot com>, Jim Blandy <jimb at cygnus dot com>, ezannoni at cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200006200213.TAA22932@wilson.cygnus.com> <395013E2.D78A2EE2@cygnus.com>
- Reply-To: msnyder at cygnus dot com
Andrew Cagney wrote:
> LONGEST is C's equivalent to ``long'' the longest type and can fit a
> CORE_ADDR.
Hmmm, no, LONGEST has nothing to do with a CORE_ADDR.
LONGEST is the largest integer type available in the compiler.
If the compiler supports (long long), then LONGEST is (long long).
Else it's usually long. It's a convention for "gimme the biggest
int ya got".