Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Latest gdb version from CVS will not build!
@ 2009-02-23 18:00 Anthony Berent
  2009-02-23 18:37 ` Pedro Alves
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Berent @ 2009-02-23 18:00 UTC (permalink / raw)
  To: gdb

Hi,

I am getting errors when I try to build the latest version of gdb from the
CVS repository for an ARM target. The error I get is in compiling
remote-sim.c:

gcc -g -O2   -I. -I.././gdb -I.././gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd
-I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber
-I.././gdb/../libdecnumber  -I.././gdb/gnulib -Ignulib  -DMI_OUT=1 -DTUI=1
-Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-unused -Wno-switch -Wno-char-subscripts -Werror -c -o remote-sim.o -MT
remote-sim.o -MMD -MP -MF .deps/remote-sim.Tpo remote-sim.c
remote-sim.c: In function `init_gdbsim_ops':
remote-sim.c:900: warning: assignment from incompatible pointer type
make[2]: *** [remote-sim.o] Error 1
make[2]: Leaving directory `/home/aberent/gdb-cvs/src-build/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/aberent/gdb-cvs/src-build'
make: *** [all] Error 2

This appears to be because the signature of the to_resume member of
target_ops has recently been changed (to include a struct target_ops *
argument) but no equivalent change has been made to gdbsim_resume in
remote-sim.c.

- Anthony



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

* Re: Latest gdb version from CVS will not build!
  2009-02-23 18:00 Latest gdb version from CVS will not build! Anthony Berent
@ 2009-02-23 18:37 ` Pedro Alves
  0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2009-02-23 18:37 UTC (permalink / raw)
  To: gdb; +Cc: Anthony Berent

>Re: Latest gdb version from CVS will not build!

Calm down, it's not the end of the world.

On Monday 23 February 2009 18:00:19, Anthony Berent wrote:

> I am getting errors when I try to build the latest version of gdb from the
> CVS repository for an ARM target. The error I get is in compiling
> remote-sim.c:
> 
> gcc -g -O2   -I. -I.././gdb -I.././gdb/config
> -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
> -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd
> -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber
> -I.././gdb/../libdecnumber  -I.././gdb/gnulib -Ignulib  -DMI_OUT=1 -DTUI=1
> -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
> -Wno-unused -Wno-switch -Wno-char-subscripts -Werror -c -o remote-sim.o -MT
> remote-sim.o -MMD -MP -MF .deps/remote-sim.Tpo remote-sim.c
> remote-sim.c: In function `init_gdbsim_ops':
> remote-sim.c:900: warning: assignment from incompatible pointer type
> make[2]: *** [remote-sim.o] Error 1
> make[2]: Leaving directory `/home/aberent/gdb-cvs/src-build/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory `/home/aberent/gdb-cvs/src-build'
> make: *** [all] Error 2
> 

> This appears to be because the signature of the to_resume member of
> target_ops has recently been changed (to include a struct target_ops *
> argument) but no equivalent change has been made to gdbsim_resume in
> remote-sim.c.

Thanks for the report.  This is now fixed in CVS.

-- 
Pedro Alves


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

end of thread, other threads:[~2009-02-23 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-23 18:00 Latest gdb version from CVS will not build! Anthony Berent
2009-02-23 18:37 ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox