From: Andreas Arnez <arnez@linux.vnet.ibm.com>
To: gdb-patches@sourceware.org
Subject: [PATCH v3 0/3] gdbserver: Fix support for S390 TDB
Date: Tue, 09 Dec 2014 13:59:00 -0000 [thread overview]
Message-ID: <1418133563-16378-1-git-send-email-arnez@linux.vnet.ibm.com> (raw)
This is a follow-up to patch 2 of the series called "S390: Fixes for
gdbserver on targets with TDB". The last version of that patch was
here:
https://sourceware.org/ml/gdb-patches/2014-12/msg00021.html
This new version is split up in three patches and contains the following
changes:
* Invalidate the register cache whenever we are about to fetch the
register values from the inferior.
* Instead of passing NULL to the regset store function upon ENODATA from
ptrace, just suppress its invocation, since the registers are now
"unavailable" by default. Consequently no longer handle NULL in
s390_store_tdb or arm_store_wmmxregset.
* Suppress calling the register store function upon other errors from
ptrace as well.
* Rephrase the while()-loops as for()-loops in regsets_fetch_- and
-_store_inferior_registers, for improved readability.
Tested on S390 and i386.
Andreas Arnez (3):
gdbserver: Rephrase loops in regsets_fetch/store_inferior_registers
gdbserver: Prevent stale/random values in register cache
S390: Fix gdbserver support for TDB
gdb/gdbserver/linux-low.c | 38 +++++++++++++-------------------------
gdb/gdbserver/linux-s390-low.c | 31 +++++++++++++++++++++----------
gdb/gdbserver/regcache.c | 5 +++++
3 files changed, 39 insertions(+), 35 deletions(-)
--
1.7.9.5
next reply other threads:[~2014-12-09 13:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 13:59 Andreas Arnez [this message]
2014-12-09 13:59 ` [PATCH v3 3/3] S390: Fix gdbserver support for TDB Andreas Arnez
2014-12-10 19:16 ` Ulrich Weigand
2014-12-11 17:04 ` Andreas Arnez
2014-12-11 20:16 ` Ulrich Weigand
2014-12-09 13:59 ` [PATCH v3 1/3] gdbserver: Rephrase loops in regsets_fetch/store_inferior_registers Andreas Arnez
2014-12-09 13:59 ` [PATCH v3 2/3] gdbserver: Prevent stale/random values in register cache Andreas Arnez
2014-12-10 19:14 ` Ulrich Weigand
2014-12-11 17:05 ` 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=1418133563-16378-1-git-send-email-arnez@linux.vnet.ibm.com \
--to=arnez@linux.vnet.ibm.com \
--cc=gdb-patches@sourceware.org \
/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