S390 gdb patches

DJBARROW@de.ibm.com DJBARROW@de.ibm.com
Wed Nov 22 02:14:00 GMT 2000


Hi Andrew,

I still haven't got your phone number.

> >tm-s390.h
> >
> >    If I'm reading the code right, much of this
> >    file is conditional on WANT_S390_TGT_DEFS.
> >    That code should be deleted.
>
> We already did talk about this I said I wanted to keep the
> old definitions e.g. FRAME_CHAIN etc.
> As I believe if the multiarch was mature it could generate this
> code from the macros & this is the only stuff that is currently
> documented.

Um, yes.  Sorry.  Can you make it conditional on ``GDB_MULTI_ARCH''
rather than adding your own macro?  You should be able to enable/disable
multi-arch by configuring with ``--enable-gdb-multi-arch={yes,no}''.

Unfortunately I cannot do this, the only way I could accomplish this is
move all the macros into the
s390-tdep.c file but I think it would be better to make them so that gdb
doesn't process them as
tm.h etc & I explicitly include them in s390-tdep.c

The reason I have this switch is so that I can get the macros when I want
them for processing in
s390-tdep.c while the rest of the code will ignore them so that they don't
clash with the multi arch macros.
It can't be switched on GDB_MULTI_ARCH.

I'll forward your concerns about s390-regs-common.h to our legal guys here
& they can clear up this problem.

D.J. Barrow Linux for S/390 kernel developer
eMail: djbarrow@de.ibm.com,barrow_dj@yahoo.com
Phone: +49-(0)7031-16-2583
IBM Germany Lab, Schönaicherstr. 220, 71032 Böblingen


Andrew Cagney <ac131313@cygnus.com> on 22.11.2000 01:38:23

Please respond to Andrew Cagney <ac131313@cygnus.com>

To:   Denis Joseph Barrow/Germany/Contr/IBM@IBMDE
cc:   gdb-patches@sourceware.cygnus.com, Boas Betzler/Germany/IBM@IBMDE,
      Jim Blandy <jimb@cygnus.com>
Subject:  Re: S390 gdb patches





More information about the Gdb-patches mailing list