From ce65796b17d72d70e831b6d2cfc239b9d99a1f36 Mon Sep 17 00:00:00 2001 From: Simon Farre Date: Mon, 19 Jun 2023 17:03:32 +0200 Subject: Fixes f1a614dc8f015743e9fe7fe5f3f019303f8db718 Fixes failure reported by buildbot regarding ill-formatted Python code. --- gdb/python/lib/gdb/dap/threads.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/python/lib') 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(): -- cgit v1.1