[PATCH 0/2] Show gdb thread ID in new thread message

Tom Tromey tom@tromey.com
Sun Jan 12 13:42:28 GMT 2025


This series adds the gdb thread ID to the "new thread" announcement.
The first patch here is just a minor cleanup I noticed while writing
this.

Regression tested on x86-64 Fedora 40.

Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (2):
      Make 'print_thread_events' static
      Mention gdb thread ID in new thread message

 gdb/gdbthread.h                                           | 4 ----
 gdb/testsuite/gdb.threads/inf-thr-count.exp               | 2 +-
 gdb/testsuite/gdb.threads/infcall-thread-announce.exp     | 4 ++--
 gdb/testsuite/gdb.threads/multiple-successive-infcall.exp | 4 ++--
 gdb/testsuite/gdb.threads/stepi-over-clone.exp            | 2 +-
 gdb/testsuite/gdb.threads/thread-specific.exp             | 2 +-
 gdb/testsuite/gdb.threads/thread_events.exp               | 2 +-
 gdb/thread.c                                              | 9 ++++++---
 8 files changed, 14 insertions(+), 15 deletions(-)
---
base-commit: 3923a3d020d52195ccae2fdbe0e86c8fb80d5283
change-id: 20250112-announce-thread-pr-19584-ba16dcfbe021

Best regards,
-- 
Tom Tromey <tom@tromey.com>



More information about the Gdb-patches mailing list