[PATCH 0/3] Querying registers of already-exited processes

Tankut Baris Aktemur tankut.baris.aktemur@intel.com
Fri Nov 13 16:57:22 GMT 2020


Hello,

This series can be considered a continuation of

  commit 4778a5f87d253399083565b4919816f541ebe414
  Author: Tom de Vries <tdevries@suse.de>
  Date:   Tue Apr 21 15:45:57 2020 +0200

    [gdb] Fix hang after ext sigkill

and

  commit 47f1aceffa02be4726b854082d7587eb259136e0
  Author: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
  Date:   Thu May 14 13:59:54 2020 +0200

    gdb/infrun: handle already-exited threads when attempting to stop

The starting point was PR gdb/26877:

  https://sourceware.org/bugzilla/show_bug.cgi?id=26877

The first two patches are preparatory.  The main patch is the last one.

Regards
Baris


Tankut Baris Aktemur (3):
  gdb/testsuite: update the expected output in
    gdb.threads/killed-outside.exp
  gdb/regcache: return REG_UNAVAILABLE if raw_update raises
    NOT_AVAILABLE_ERROR
  gdb: raise and handle NOT_AVAILABLE_ERROR when accessing frame PC

 gdb/amd64-linux-nat.c                         |  3 +-
 gdb/regcache.c                                | 11 ++-
 gdb/remote.c                                  | 20 +++--
 gdb/stack.c                                   | 33 +++++++-
 gdb/testsuite/gdb.threads/killed-outside.exp  | 11 ++-
 .../gdb.tui/multi-exit-remove-inferior.c      | 21 +++++
 .../gdb.tui/multi-exit-remove-inferior.exp    | 80 +++++++++++++++++++
 7 files changed, 166 insertions(+), 13 deletions(-)
 create mode 100644 gdb/testsuite/gdb.tui/multi-exit-remove-inferior.c
 create mode 100644 gdb/testsuite/gdb.tui/multi-exit-remove-inferior.exp

-- 
2.17.1



More information about the Gdb-patches mailing list