Build Error in spu-tdep.c

Hui Zhu
Fri Jul 2 05:35:00 GMT 2010

gcc -g -O2   -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd
-I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber  -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1  -DGDBTK -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function
-Wno-switch -Wno-char-subscripts -Werror -c -o spu-tdep.o -MT
spu-tdep.o -MMD -MP -MF .deps/spu-tdep.Tpo ../../src/gdb/spu-tdep.c
cc1: warnings being treated as errors
../../src/gdb/spu-tdep.c: In function 'spu_catch_start':
../../src/gdb/spu-tdep.c:1898: warning: passing argument 10 of
'create_breakpoint' makes pointer from integer without a cast
../../src/gdb/spu-tdep.c:1898: warning: passing argument 11 of
'create_breakpoint' makes integer from pointer without a cast
../../src/gdb/spu-tdep.c:1898: error: too many arguments to function
make[2]: *** [spu-tdep.o] Error 1
make[2]: Leaving directory `/home/teawater/gdb/cvs/bgdball/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/teawater/gdb/cvs/bgdball'
make: *** [all] Error 2

More information about the Gdb mailing list