summaryrefslogtreecommitdiff
path: root/buildscripts/gdb
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2020-11-12 19:13:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-03 20:34:08 +0000
commitb0f7369dfb3bd61db0cf08c4f2373788fbf01a67 (patch)
tree78806650721981bd46bcd21257128c90badbf78a /buildscripts/gdb
parentab78fd25adaea0603cf9497c1acc0d88cb739b84 (diff)
downloadmongo-b0f7369dfb3bd61db0cf08c4f2373788fbf01a67.tar.gz
SERVER-52821 Allow thread names to be cached by unique id
Diffstat (limited to 'buildscripts/gdb')
-rw-r--r--buildscripts/gdb/mongo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/gdb/mongo.py b/buildscripts/gdb/mongo.py
index 2a48fa9091c..08a26df539b 100644
--- a/buildscripts/gdb/mongo.py
+++ b/buildscripts/gdb/mongo.py
@@ -62,7 +62,7 @@ def get_current_thread_name():
fallback_name = '"%s"' % (gdb.selected_thread().name or '')
try:
# This goes through the pretty printer for StringData which adds "" around the name.
- name = str(gdb.parse_and_eval("mongo::for_debuggers::threadName"))
+ name = str(gdb.parse_and_eval("mongo::ThreadName::getStaticString()"))
if name == '""':
return fallback_name
return name