[PRELIMINARY]: Patch to add bfd support for IBM s390

DJBARROW@de.ibm.com DJBARROW@de.ibm.com
Fri Aug 25 03:20:00 GMT 2000


 Martin Schwidefsky is responsible for the BFD & Binutils
port he will be able to fill you in with these details & whether the
BFD_RELOC entries are valid or not.

The breakpoint.c kludge I did as far as I remember is probably unwanted, I
just found that the
hardware breakpoints in 4-18 were in absolutely terrible shape staying in
when not wanted &
disappearing for no reason, has this code improved ?, my clueless kludge
improved the situation a tiny
bit in the test cases I was playing with.
I haven't had a chance to see whether the 5.0 code has improved
substantially in my opinion
this code needs a lot of attention by someone who knows it, if this code
has improved recently
please leave this out.

The readline addition to  configure.in is because our compiler by default
uses unsigned characters
& results in some conditions in readline not behaving as expected without
this addition.

I also had to add this ugly kludge in trad-core.c as the configure script
was leaving
TRAD_HEADER defined i.e
#define TRAD_HEADER /* Nothing */
 as something didn't completely undef it & attempted to include
thus attempted to include fresh air, I didn't know the best way to fix
this.
--- gdb-5.0/bfd/trad-core.c   Mon Feb 21 13:01:25 2000
+++ gdb-5.0-s390/bfd/trad-core.c   Wed Jul 26 00:09:16 2000
@@ -30,6 +30,9 @@

 #include <sys/user.h>        /* After a.out.h  */

+#ifdef __s390__
+#undef TRAD_HEADER /* problem with configure script */
+#endif
 #ifdef TRAD_HEADER
 #include TRAD_HEADER
 #endif

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


Geoff Keating <geoffk@cygnus.com> on 25.08.2000 00:07:33

Please respond to Geoff Keating <geoffk@cygnus.com>

To:   msnyder@redhat.com
cc:   binutils@sourceware.cygnus.com, bfd-local@cygnus.com,
      nickc@cygnus.com, Denis Joseph Barrow/Germany/Contr/IBM@IBMDE, Boas
      Betzler/Germany/IBM@IBMDE, Gregory Burke/Poughkeepsie/IBM@IBMUS
Subject:  Re: [PRELIMINARY]: Patch to add bfd support for IBM s390





More information about the Binutils mailing list