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] |
Hi,
Windows/MinGW printf does support printing of long long types, but it does not do using %lld etc.
This patch converts %ll (or %...ll) to %I64 as required by Windows.
What! Seven years after ISO C99 was ratified, Microsoft still ships a libc that doesn't support %ll?
Sigh, I don't see why we need to treat MINGW special here. We should probably just print an error if PRINTF_HAS_LONG_LONG isn't defined.
Actually I think the way we support size modifiers in gdb's printf are completely broken. Do they refer to the host types, or the target types?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |