summaryrefslogtreecommitdiff
path: root/buildscripts/gdb/mongo.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/gdb/mongo.py')
-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 2e1106bf121..ea3bf3c45d9 100644
--- a/buildscripts/gdb/mongo.py
+++ b/buildscripts/gdb/mongo.py
@@ -69,7 +69,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::ThreadName::getStaticString()"))
+ name = str(gdb.parse_and_eval("mongo::getThreadName()"))
if name == '""':
return fallback_name
return name