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]

Re: [commit/obvious] fix findcmd.c build failure on Tru64


On Tue, May 13, 2008 at 09:30:35PM -0700, Joel Brobecker wrote:
> 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.

I think that's true, but it seems nicer this way.

I'll ask the opposite question.  Can we just put stdint.h in defs.h
now?  It's clear that gdb_stdint.h works everywhere; there's also a
stdint.h in our build tree provided by gnulib if the system lacks its
own.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]