[PUSHED 0/8] Some gdbserver regcache cleanup

Tankut Baris Aktemur
2024-12-17T08:21:55Z

Hello,

I had previously submitted a series for gdbserver's regcache:

https://inbox.sourceware.org/gdb-patches/cover.1677582744.git.tankut.baris.aktemur@intel.com/

Simon had reviewed the series and approved some of the patches. I
rebased those patches and then regression-tested on Linux X86-64 using
the default, native-gdbserver, and native-extended-gdbserver board
files, and then pushed. Hereby I send the pushed versions.

Thanks.
Baris

Tankut Baris Aktemur (8):
gdbserver: by-pass regcache to access tdesc only
gdbserver: boolify and defaultize the 'fetch' parameter of
get_thread_regcache
gdbserver: convert regcache_cpy into regcache::copy_from
gdbserver: check for nullptr condition in
regcache::get_register_status
gdbserver: boolify regcache fields
gdbserver: rename regcache's registers_valid to registers_fetched
gdbsupport: fix a typo in a comment in common-regcache.h
gdbserver: return tracked register status in
regcache_raw_read_unsigned

gdbserver/linux-aarch32-low.cc | 2 +-
gdbserver/linux-low.cc | 18 +++++++--------
gdbserver/linux-ppc-low.cc | 12 ++++------
gdbserver/linux-s390-low.cc | 14 ++++--------
gdbserver/linux-x86-low.cc | 9 +++-----
gdbserver/mem-break.cc | 4 ++--
gdbserver/proc-service.cc | 2 +-
gdbserver/regcache.cc | 41 ++++++++++++++++++----------------
gdbserver/regcache.h | 22 +++++++++---------
gdbserver/remote-utils.cc | 2 +-
gdbserver/server.cc | 4 ++--
gdbserver/tracepoint.cc | 6 ++---
gdbserver/win32-low.cc | 2 +-
gdbsupport/common-regcache.h | 8 +++----
14 files changed, 69 insertions(+), 77 deletions(-)

--
2.34.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva