aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/python/lib/gdb/dap/threads.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/python/lib/gdb/dap/threads.py b/gdb/python/lib/gdb/dap/threads.py
index 2537560..a4ca9e6 100644
--- a/gdb/python/lib/gdb/dap/threads.py
+++ b/gdb/python/lib/gdb/dap/threads.py
@@ -18,6 +18,7 @@ import gdb
from .server import request
from .startup import send_gdb_with_response, in_gdb_thread
+
def _thread_name(thr):
if thr.name is not None:
return thr.name
@@ -25,6 +26,7 @@ def _thread_name(thr):
return thr.details
return None
+
# A helper function to construct the list of threads.
@in_gdb_thread
def _get_threads():