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] printf "%p" gdb internal error fix


On Sat, Sep 15, 2007 at 11:59:52AM +0300, Eli Zaretskii wrote:
> Never liked such references too much, but I guess a full-fledged
> description of conversion specifiers will have to wait for another
> rainy day.  Until then, here's what I committed, in order to bring
> the manual in line with the code, and at least tell what features of a
> C-standard `printf' are _not_ supported:

Thanks!  May I suggest we reference a particular C or POSIX standard
if we are going to list exceptions?  When I wrote the current
implementation, I did it with a copy of C89 open next to me (well, I
think - I can't find the exact manual I was using) and GCC's format
string checker, which is a fairly definitive reference.

Of the exceptions you've found, * and n are present in C89.  1$,
', hh, j, t, z, a, and A are not (actually I can't find a reference
for a/A; what do they do?).

-- 
Daniel Jacobowitz
CodeSourcery


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