This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all
- From: Philipp Rudo <prudo at linux dot vnet dot ibm dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Thu, 25 Jan 2018 11:08:27 +0100
- Subject: [PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all
- Authentication-results: sourceware.org; auth=none
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