[windows] build error on gdbserver

Eli Zaretskii eliz@gnu.org
Thu Nov 24 14:32:00 GMT 2011


> Date: Thu, 24 Nov 2011 15:11:11 +0100
> From: Ralf Corsepius <ralf.corsepius@rtems.org>
> 
> > ../../../gdb/gdb/gdbserver/tracepoint.c: In function 'cmd_qtstatus':
> > ../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: unknown
> > conversion type character 'l' in format
> > ../../../gdb/gdb/gdbserver/tracepoint.c:3460:5: error: unknown
> > conversion type character '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 format
> > 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.
> 
> Use "configure --disable-werror ..."

And get a buggy binary?  Isn't it clear that the problem is real?



More information about the Gdb mailing list