This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [rfc] [0/9] Multi-target support


  I tried to compile gdb with --enable-targets=all
on cygwin and got the following failure:

gcc -c -g -O2   -I. -I../../src/gdb -I../../src/gdb/config
-DLOCALEDIR="\"/usr/l
ocal/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../s
rc/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include
 -I../libdecnumber -I../../src/gdb/../libdecnumber   -DMI_OUT=1 -DGDBTK
-DTUI=1
 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-un
used -Wno-switch -Wno-char-subscripts -Werror ../../src/gdb/alpha-tdep.c
gcc -c -g -O2   -I. -I../../src/gdb -I../../src/gdb/config
-DLOCALEDIR="\"/usr/l
ocal/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../s
rc/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include
 -I../libdecnumber -I../../src/gdb/../libdecnumber   -DMI_OUT=1 -DGDBTK
-DTUI=1
 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-un
used -Wno-switch -Wno-char-subscripts -Werror ../../src/gdb/amd64fbsd-tdep.c
../../src/gdb/amd64fbsd-tdep.c:89: warning: large integer implicitly
truncated t
o unsigned type
../../src/gdb/amd64fbsd-tdep.c:90: warning: large integer implicitly
truncated t
o unsigned type
make[1]: *** [amd64fbsd-tdep.o] Error 1
make[1]: Leaving directory `/usr/local/src/cvs/build-all/gdb'
make: *** [all-gdb] Error 2

The corresponding sourcelines contain 64 bit constants that are assigned to
CORE_ADDR
type. 
  Is the CORE_ADDR size changed according to the target of the current tdep
file?

Pierre


> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] On Behalf Of Ulrich Weigand
> Sent: Saturday, November 17, 2007 2:08 AM
> To: Ulrich Weigand
> Cc: gdb-patches@sourceware.org
> Subject: Re: [rfc] [0/9] Multi-target support
> 
> 
> > as promised, here's a set of patches to provide the --enable-targets=
> > configure option, allowing to support multiple (remote) targets
> within
> > a single GDB executable.
> 
> I've committed --enable-targets= support now, consisting of the
> original patch series, except for the old 7/9 OPENBSD_AOUT patch,
> and in addition the show_mipsfpu_command crash fix from:
> http://sourceware.org/ml/gdb-patches/2007-10/msg00832.html
> 
> I've also updated NEWS with the text from:
> http://sourceware.org/ml/gdb-patches/2007-10/msg00711.html
> 
> Bye,
> Ulrich
> 
> --
>   Dr. Ulrich Weigand
>   GNU Toolchain for Linux on System z and Cell BE
>   Ulrich.Weigand@de.ibm.com




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]