mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
Fixes f1a614dc8f
Fixes failure reported by buildbot regarding ill-formatted Python code.
This commit is contained in:
parent
28ab59607e
commit
ce65796b17
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user