public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Build Error in spu-tdep.c
@ 2010-07-02  5:35 Hui Zhu
  2010-07-02 13:23 ` Ulrich Weigand
  0 siblings, 1 reply; 2+ messages in thread
From: Hui Zhu @ 2010-07-02  5:35 UTC (permalink / raw)
  To: gdb, Ulrich Weigand

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
'create_breakpoint'
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

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

* Re: Build Error in spu-tdep.c
  2010-07-02  5:35 Build Error in spu-tdep.c Hui Zhu
@ 2010-07-02 13:23 ` Ulrich Weigand
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Weigand @ 2010-07-02 13:23 UTC (permalink / raw)
  To: Hui Zhu; +Cc: gdb

Hui Zhu wrote:

> ../../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
> 'create_breakpoint'

This has already been fixed by Jan Kratochvil:
http://sourceware.org/ml/gdb-patches/2010-07/msg00034.html

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com

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

end of thread, other threads:[~2010-07-02 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-02  5:35 Build Error in spu-tdep.c Hui Zhu
2010-07-02 13:23 ` Ulrich Weigand

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).