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: [PATCH] dwarf2read.c: Don't assume uint32_t is unsigned int on all hosts.


On Wed, May 22, 2013 at 9:10 AM, Pedro Alves <palves@redhat.com> wrote:
>> Another possibility, mentioned for reference sake, would be adding puint32, etc.
>
> Yeah, though I think those would end up implemented as calls to
> decimal2str(...,ULONGEST,...) internally anyway.
>
> With pulongest, we don't have to care the width of the variable,
> only the sign.  I guess I could see that as an advantage, even over
> PRIxxx.

I don't mind much how it's implemented.  Remembering that there is
puint32 for the purpose of printing uint32's will stick in my memory
more than having to use pulongest.


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