Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Philipp Rudo <prudo@linux.vnet.ibm.com>
To: GDB Patches <gdb-patches@sourceware.org>
Cc: Andreas Arnez <arnez@linux.vnet.ibm.com>,
	       Ulrich Weigand <uweigand@de.ibm.com>
Subject: [PATCH] s390: Fix gdb.base/all-architectures.exp with --enable-targets=all
Date: Thu, 25 Jan 2018 10:08:00 -0000	[thread overview]
Message-ID: <20180125100828.7599-1-prudo@linux.vnet.ibm.com> (raw)

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


             reply	other threads:[~2018-01-25 10:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 10:08 Philipp Rudo [this message]
2018-01-25 10:08 ` Philipp Rudo
2018-01-30 16:12   ` Andreas Arnez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180125100828.7599-1-prudo@linux.vnet.ibm.com \
    --to=prudo@linux.vnet.ibm.com \
    --cc=arnez@linux.vnet.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox