projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ab596
)
Fixes f1a614dc8f015743e9fe7fe5f3f019303f8db718
author
Simon Farre
<simon.farre.cx@gmail.com>
Mon, 19 Jun 2023 15:03:32 +0000
(17:03 +0200)
committer
Simon Farre
<simon.farre.cx@gmail.com>
Mon, 19 Jun 2023 15:06:05 +0000
(17:06 +0200)
Fixes failure reported by buildbot regarding ill-formatted Python code.
gdb/python/lib/gdb/dap/threads.py
patch
|
blob
|
history
diff --git
a/gdb/python/lib/gdb/dap/threads.py
b/gdb/python/lib/gdb/dap/threads.py
index 253756022df075c49a48b270676c30eae505cd67..a4ca9e61488ea01cd7b6ec95970c75960eacd46b 100644
(file)
--- 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():