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

[PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all


Hi everybody

my s390 split up patch set introduced a bug.  In particular GDB crashes with
an internal error when the architecture is set to s390 and the user sets the
osabi to something else than Linux.  The patch attached fixes this and
restores the behavior s390_gdbarch_init had before the split.

Please note that the fix is pretty ugly.  However i am currently working on
dynamically creating the target description for s390.  With this in place
the ugliness will be (hopefully soon) removed again.

Philipp

Philipp Rudo (1):
  s390: Fix gdb.base/all-architectures.exp with --enable-targets=all

 gdb/s390-linux-tdep.c | 10 ----------
 gdb/s390-linux-tdep.h |  2 --
 gdb/s390-tdep.c       | 23 +++++++++++++++++++++--
 gdb/s390-tdep.h       |  3 +++
 4 files changed, 24 insertions(+), 14 deletions(-)

-- 
2.13.5


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