[PATCH RFC 0/2] Remove UST (static tracepoint) support from gdbserver

Tankut Baris Aktemur tankut.baris.aktemur@intel.com
Wed Jan 8 17:28:43 GMT 2025


Hello,

UST support in gdbserver is substantially outdated.  Simon suggested
removing the support in a comment at

  https://inbox.sourceware.org/gdb-patches/f5fd16bf-1a2c-44d2-b777-73757fd8e6cd@efficios.com/

This is an RFC that aims to start that removal.  I wanted to make this
an RFC to collect feedback on "how much" to remove.  In one further
step, we can also remove the `static_tracepoint` enum in
gdbserver/tracepoint.cc and all the relevant places where it's used.
I think it makes sense to keep the related GDB commands and the RSP
support unchanged.  Removing support from gdbserver doesn't mean that
GDB would not be connected to a (downstream) stub that uses the
feature or that the support would not be resurrected in the future.

Best regards,
Baris

---
Tankut Baris Aktemur (2):
      gdbserver: remove UST (static tracepoint) support (part 1)
      gdbserver: remove UST (static tracepoint) support (part 2)

 gdb/NEWS                     |   2 +
 gdb/doc/gdb.texinfo          |  16 +-
 gdbserver/Makefile.in        |   9 -
 gdbserver/config.in          |   3 -
 gdbserver/configure          |  94 ------
 gdbserver/configure.ac       |  55 ----
 gdbserver/linux-amd64-ipa.cc |  88 ------
 gdbserver/linux-i386-ipa.cc  |  77 -----
 gdbserver/server.cc          |   2 -
 gdbserver/tracepoint.cc      | 671 +------------------------------------------
 10 files changed, 19 insertions(+), 998 deletions(-)
---
base-commit: 1da36057976ea565045f319e3d65be7412ca0588
change-id: 20250108-upstream-gdbserver-remove-ust-fb4dd2b4e944

Best regards,
-- 
Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>

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
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


More information about the Gdb-patches mailing list