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! For windows targets, (x86_64-w64-mingw32, i686-w64-mingw32) gcc complains: ../../../gdb-cvs/gdb/gdbserver/server.c: In function 'handle_query': ../../../gdb-cvs/gdb/gdbserver/server.c:1542: warning: unknown conversion type character 'l' in format ../../../gdb-cvs/gdb/gdbserver/server.c:1542: warning: too many arguments for format ../../../gdb-cvs/gdb/gdbserver/server.c:1566: warning: unknown conversion type character 'l' in format ../../../gdb-cvs/gdb/gdbserver/server.c:1566: warning: too many arguments for format This is due to the fact that MS printf doesn't support %lld, it uses its own %I64d which gcc already knows about. The attached patch changes that. OK for apply? gdb/gdbserver/ * server.c (handle_query): For windows, use %I64d instead of %lld in the sprintf format string. -- Ozkan
Attachment:
g2.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |