public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [windows] build error on gdbserver
@ 2011-11-24 13:07 asmwarrior
  2011-11-24 14:15 ` Ralf Corsepius
  2011-11-24 17:38 ` Stan Shebs
  0 siblings, 2 replies; 8+ messages in thread
From: asmwarrior @ 2011-11-24 13:07 UTC (permalink / raw)
  To: gdb

Hi, all, I use the gdb cvs.

Now, build gdb under msys+mingw has a build error:

make[4]: Entering directory `/f/build_gdb/gdb/gdbgit/buildNo/gdb/gdbserver'
rm -f version.c-tmp version.c
echo '#include "server.h"' >> version.c-tmp
gcc -c -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../.
./gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../..
/../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpointe
r-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbser
ver/mem-break.c
echo 'const char version[] = "'"`sed q ../../../gdb/gdb/gdbserver/../version.in`
"'";' >> version.c-tmp
gcc -c -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../.
./gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../..
/../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpointe
r-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbser
ver/hostio.c
gcc -c -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../.
./gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../..
/../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpointe
r-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbser
ver/event-loop.c
echo 'const char host_name[] = "mingw32";' >> version.c-tmp
mv version.c-tmp version.c
gcc -c -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../.
./gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../..
/../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpointe
r-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbser
ver/tracepoint.c
gcc -c  -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../
../gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../.
./../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpoint
er-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbse
rver/../common/xml-utils.c -DGDBSERVER
gcc -c  -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../
../gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../.
./../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpoint
er-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbse
rver/../common/common-utils.c -DGDBSERVER
gcc -c  -O0 -g -D__USE_MINGW_ACCESS    -I. -I../../../gdb/gdb/gdbserver -I../../
../gdb/gdb/gdbserver/../common -I../../../gdb/gdb/gdbserver/../regformats -I../.
./../gdb/gdb/gdbserver/../../include -Wall -Wdeclaration-after-statement -Wpoint
er-arith -Wformat-nonliteral -Wno-char-subscripts -Werror ../../../gdb/gdb/gdbse
rver/../common/buffer.c -DGDBSERVER
cc1.exe: warnings being treated as errors
../../../gdb/gdb/gdbserver/tracepoint.c: In function 'cmd_qtstatus':
../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: unknown conversion type c
haracter 'l' in format
../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: unknown conversion type c
haracter 'l' in format
../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: format '%s' expects type
'char *', but argument 12 has type 'LONGEST'
../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: format '%s' expects type
'char *', but argument 13 has type 'LONGEST'
../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: too many arguments for fo
rmat
make[4]: *** [tracepoint.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/f/build_gdb/gdb/gdbgit/buildNo/gdb/gdbserver'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/f/build_gdb/gdb/gdbgit/buildNo/gdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/f/build_gdb/gdb/gdbgit/buildNo/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/f/build_gdb/gdb/gdbgit/buildNo'
make: *** [all] Error 2


It looks like something in tracepoint.c, so I CC to Yao.

Thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-25 12:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 13:07 [windows] build error on gdbserver asmwarrior
2011-11-24 14:15 ` Ralf Corsepius
2011-11-24 14:32   ` Eli Zaretskii
2011-11-24 14:51     ` Ralf Corsepius
2011-11-24 14:47   ` asmwarrior
2011-11-24 15:05     ` Pedro Alves
2011-11-24 17:38 ` Stan Shebs
2011-11-25 12:02   ` asmwarrior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).