This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB printf command
- From: Andrew STUBBS <andrew dot stubbs at st dot com>
- To: GDB List <gdb at sourceware dot org>
- Date: Tue, 17 Oct 2006 13:03:33 +0100
- Subject: GDB printf command
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