This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: gdb & gdbserver for s390 31 & 64 bit
- To: Denis Joseph Barrow <DJBARROW at de dot ibm dot com>
- Subject: Re: gdb & gdbserver for s390 31 & 64 bit
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 27 Sep 2001 23:16:41 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <OF797DFD92.6C4D6303-ONC1256AD4.003B136C@de.ibm.com>
>
>
> The tm-sysv4.h patch was simply needed to get the stuff to compile
> multiarch,
> I don't think most/all other stuff which uses tm-sysv4.h are compiled
> multiarch which is
> why I don't think you've seen this before.
> The SKIP_TRAMPOLINE_CODE macro is also defined in gdbarch.h.
Ah. This problem is only in the trunk. One less thing to worry about.
Related to this, can you try setting GDB_MULTI_ARCH back to 1
(GDB_MULTI_ARCH_PARTIAL) from 2 (GDB_MULTI_ARCH_TM) and remove that
#ifdef, letting me know the result? Except when debugging,
GDB_MULTI_ARCH shouldn't be set to GDB_MULTI_ARCH_TM.
I suspect it will be easer to add #undef's to config/s390/tm-linux.h or
even not include config/tm-linux.h. Either way, it is a tempoary hack.
BTW, PPC is partial multi-arch and includes config/tm-sysv4.h.
enjoy,
Andrew