From: "Dirk Volkmar" <Dirk.Volkmar@deutsche-boerse.com>
To: gdb@sources.redhat.com
Cc: Andreas Jaeger <aj@suse.de>
Subject: Re: Multilib GDB on Linux S390x (zSeries) [Deutsche Boerse Systems: Virus checked]
Date: Fri, 27 Jun 2003 10:22:00 -0000 [thread overview]
Message-ID: <C1256D52.00339AF5.00@nsgdbk01.deutsche-boerse.de> (raw)
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.
next reply other threads:[~2003-06-27 9:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-27 10:22 Dirk Volkmar [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-06-25 12:21 Dirk Volkmar
2003-06-25 12:22 ` Andreas Jaeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1256D52.00339AF5.00@nsgdbk01.deutsche-boerse.de \
--to=dirk.volkmar@deutsche-boerse.com \
--cc=aj@suse.de \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).