[windows] build error on gdbserver

Ralf Corsepius ralf.corsepius@rtems.org
Thu Nov 24 14:51:00 GMT 2011


On 11/24/2011 03:32 PM, Eli Zaretskii wrote:
>> 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?
You are right, I didn't look carefully enough and missed there was a 
real error.

I had thought this was one of the usual false build errors noise mails 
gdb's -Werror is causing.

>    Isn't it clear that the problem is real?
Apologies, sorry.

Ralf



More information about the Gdb mailing list