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

Tankut Baris Aktemur tankut.baris.aktemur@intel.com
Tue Feb 8 09:15:00 GMT 2022


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

Revision v1 of the series is available at

  https://sourceware.org/pipermail/gdb-patches/2020-November/173255.html

The v2 is a rebase of the series on the current master, and a ping for
reviews. :)

Regards
Baris

Tankut Baris Aktemur (2):
  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  |  7 +-
 .../gdb.tui/multi-exit-remove-inferior.c      | 21 +++++
 .../gdb.tui/multi-exit-remove-inferior.exp    | 80 +++++++++++++++++++
 7 files changed, 162 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.33.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



More information about the Gdb-patches mailing list