This is the mail archive of the gdb@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]

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


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