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]


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

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

> On the other hand there is a option
> "set architecture"  that can be set to
>
> (gdb) set architecture
> Requires an argument. Valid arguments are s390:31-bit, s390:64-bit, auto.
>
> but it has no effect.
> And I think that gdb is multilib capable (on sparc it is).

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
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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