aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd-dbgapi-target.c
diff options
context:
space:
mode:
authorLaurent Morichetti <laurent.morichetti@amd.com>2023-09-07 11:00:53 -0700
committerLancelot Six <lancelot.six@amd.com>2023-09-15 16:12:30 +0000
commit5490b88bfb36d23799005ee5284292d48d91cbdc (patch)
tree4a0dd8a4ee52f38ec66daa844b08dc1105212544 /gdb/amd-dbgapi-target.c
parentd27f3b2fde2e0ca347e7eadfb3fe2a4454cd7a65 (diff)
downloadbinutils-5490b88bfb36d23799005ee5284292d48d91cbdc.zip
binutils-5490b88bfb36d23799005ee5284292d48d91cbdc.tar.gz
binutils-5490b88bfb36d23799005ee5284292d48d91cbdc.tar.bz2
gdb/amdgpu: Silence wave termination messages
After commit 9d7d58e7262, the amdgpu target started printing "thread exited" messages when pruning waves that had terminated. ... [AMDGPU Wave ?:?:?:2045 (?,?,?)/? exited] [AMDGPU Wave ?:?:?:2046 (?,?,?)/? exited] [AMDGPU Wave ?:?:?:2047 (?,?,?)/? exited] [AMDGPU Wave ?:?:?:2048 (?,?,?)/? exited] ... The issue was that before commit 9d7d58e7262, delete_thread was silent by default due to a bug that the commit fixed. Replaced the amdgpu target call to delete_thread with a call to delete_thread_silent. Change-Id: Ie5d5a4c5be851f092d2315b2afa6a36a30a05245 Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/amd-dbgapi-target.c')
-rw-r--r--gdb/amd-dbgapi-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd-dbgapi-target.c b/gdb/amd-dbgapi-target.c
index 22c269b..8eafcea 100644
--- a/gdb/amd-dbgapi-target.c
+++ b/gdb/amd-dbgapi-target.c
@@ -1634,7 +1634,7 @@ amd_dbgapi_target::update_thread_list ()
auto it = threads.find (tp->ptid.tid ());
if (it == threads.end ())
- delete_thread (tp);
+ delete_thread_silent (tp);
else
threads.erase (it);
}