This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/obvious] fix findcmd.c build failure on Tru64
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 13 May 2008 21:30:35 -0700
- Subject: Re: [commit/obvious] fix findcmd.c build failure on Tru64
- References: <20080514042628.GA3727@adacore.com>
> I just checked in the attached patch. The issue was that the code is
> using some types such as int32_t which are normally declared in stdint.h.
> So I added a #include of gdb_stdint.h.
Ooops, forgot to ask my question :-).
The types in question seem to be only used together with the sizeof
operator. Could we have simply used 8 instead of sizeof (int64_t)?
Looking at the C90 draft that I have, my understanding is that
intN_t types are required to be exactly N bits.
(not that this is really all that important, but I need to improve
my C skills).
--
Joel