GDB printf command

Andrew STUBBS andrew.stubbs@st.com
Tue Oct 17 12:03:00 GMT 2006


Hi,

The %ll issue, recently discussed on the patches list, was originally 
reported to me against GDB 6.4.

While testing my fix to GDB 6.5 I have discovered that the new version 
is even more broken than the old one (at least in some respects, no 
doubt whatever it set out to fix was achieved).

Specifically '%lf' is not permitted. This used to work and is permitted 
by both C90 and C99.

Can anybody tell me why this is the case - it seems deliberate - and 
what is the intended range of capabilities of this command?

It would appear to me to be most useful if it can operate on any type 
the GDB expression parser is capable of handling, regardless of host system.

Thanks

Andrew Stubbs



More information about the Gdb mailing list