[binutils-gdb] gdb/linux-tdep: remove linux_collect_thread_registers_ftype typedef

Simon Marchi simark@sourceware.org
Sat Mar 14 18:44:06 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a5a674f0c02d95b6ed601eedb366849aaec0c55

commit 2a5a674f0c02d95b6ed601eedb366849aaec0c55
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Tue Mar 10 13:30:35 2026 -0400

    gdb/linux-tdep: remove linux_collect_thread_registers_ftype typedef
    
    It is unused.
    
    Change-Id: I4c3ffc6598a12468072cd805ceebca3087e590d9
    Approved-By: Tom Tromey <tom@tromey.com>

Diff:
---
 gdb/linux-tdep.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gdb/linux-tdep.h b/gdb/linux-tdep.h
index 4f74d40075d..92666ea4d97 100644
--- a/gdb/linux-tdep.h
+++ b/gdb/linux-tdep.h
@@ -59,11 +59,6 @@ struct type *linux_get_siginfo_type_with_fields (struct gdbarch *gdbarch,
    memory tagging protection.  */
 bool linux_address_in_memtag_page (CORE_ADDR address);
 
-typedef char *(*linux_collect_thread_registers_ftype) (const struct regcache *,
-						       ptid_t,
-						       bfd *, char *, int *,
-						       enum gdb_signal);
-
 extern enum gdb_signal linux_gdb_signal_from_target (struct gdbarch *gdbarch,
 						     int signal);


More information about the Gdb-cvs mailing list