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: [rfc] gdb_stdint.h.


Daniel Jacobowitz <drow@false.org> writes:
> You want uintptr_t?  I got your uintptr_t right here.
>
> This patch creates a header in the build directory named gdb_stdint.h.
> It defines all of the things which a stdint.h ought to define.  It uses
> the system's stdint.h if there is one, and provides anything missing,
> up to and including the whole file.
>
> There is, of course, a huge hairy chunk of m4 and portability knowledge
> that you don't see in this patch.  That's because it's already in
> config/ and was written for GCC.  I'm OK with that :-)  It means it's
> quite well tested at this point.
>
> This would be enough to allow us to start using uint64_t, uintptr_t,
> et cetera in the common code of GDB.  Which, in my opinion, would be a
> good idea.  They're nice to have around.

Oh, I double-plus-good-feeling <stdint.h>.  Criminal not to have it in
the language from the beginning.


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