This is the mail archive of the gdb@sources.redhat.com 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: Multilib GDB on Linux S390x (zSeries) [Deutsche Boerse Systems: Virus checked]


Hi!



On 25.06.2003 13:52:48 Andreas Jaeger wrote:
>"Dirk Volkmar" <Dirk.Volkmar@deutsche-boerse.com> writes:
>
>> Ok!
>> So how can I build a 32 bit gdb? I didn't find an configure option to build
>it.
>
>configure for s390-ibm-linux-gnu as target/host.
>
I tried it with (on s390x/ SUSE SLES8 ;-)
./configure --prefix=/xentric/volkdir/public/gdb --target=s390-ibm-linux-gnu
--host=s390-ibm-linux-gnu


And make brings folowing messages:
gcc -c -g -O2    -I. -I. -I./config
-DLOCALEDIR="\"/xentric/volkdir/public/gdb/share/locale\"" -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include
-I../intl -I./../intl -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE
-DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparentheses -Wpointer-arith -Wuninitialized  s390-nat.c
In file included from defs.h:59,
                 from s390-nat.c:22:
../include/ansidecl.h:149:1: warning: "PARAMS" redefined
In file included from gdb_locale.h:29,
                 from defs.h:42,
                 from s390-nat.c:22:
../intl/libintl.h:48:1: warning: this is the location of the previous definition
s390-nat.c: In function `s390_register_u_addr':
s390-nat.c:55: error: `PT_FPR0_HI' undeclared (first use in this function)
s390-nat.c:55: error: (Each undeclared identifier is reported only once
s390-nat.c:55: error: for each function it appears in.)
make[1]: *** [s390-nat.o] Error 1
make[1]: Leaving directory `/xentric/volkdir/public/src/gdb-5.3/gdb'
make: *** [all-gdb] Error 2


>Or take the gdb binary from an existing s390 installation.  It should
>run just fine...

So I will go to plan B and look for an m31 gdb.


>This is currently work in progress but does not work under Linux
>platforms.
>
>> So I made an experiment. I replaced in the gdb source tree the bfd
>subdirectory
>> with the newest binututils bfd directory, compiled it and now the gdb can
read
>> the symbols.
>
>But it won't work, the interface is not that stable.
>
>Andreas

Are there plans to enable multilib debugging for s390-linux?

Thanks a lot so far.



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