This is the mail archive of the gdb-patches@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]

Re: gdb & gdbserver for s390 31 & 64 bit


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



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