diff options
author | Pedro Alves <pedro@palves.net> | 2022-06-24 17:20:16 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-06-24 17:20:16 +0100 |
commit | 86be3050a64c7317754b5682e1a2b6a91f4e3f03 (patch) | |
tree | 83b6d04fb1cbfe4e46fee0e61f1a6f63b4fb6113 /gdb/gdbthread.h | |
parent | 10245fe8171a292dcf50051a33ec5bae7b08cb54 (diff) | |
download | gdb-86be3050a64c7317754b5682e1a2b6a91f4e3f03.zip gdb-86be3050a64c7317754b5682e1a2b6a91f4e3f03.tar.gz gdb-86be3050a64c7317754b5682e1a2b6a91f4e3f03.tar.bz2 |
Revert "Delete delete_thread_silent"
Turns out we'll be gaining a new use of this function very soon, the
incoming AMDGPU port needs it. Let's add it back, as it isn't really
hurting anything.
This reverts commit 39b8a8090ed7e8967ceca3655aa5f3a2ae91219d.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 1f17ad7..1a33eb6 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -623,6 +623,10 @@ extern struct thread_info *add_thread_with_info (process_stratum_target *targ, as exited and do the notification. */ extern void delete_thread (struct thread_info *thread); +/* Like delete_thread, but be quiet about it. Used when the process + this thread belonged to has already exited, for example. */ +extern void delete_thread_silent (struct thread_info *thread); + /* Mark the thread exited, but don't delete it or remove it from the inferior thread list. */ extern void set_thread_exited (thread_info *tp, bool silent); |