aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/lib
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-02-12 21:45:25 +0100
committerTom de Vries <tdevries@suse.de>2024-02-12 21:45:25 +0100
commite25a613437218e60854241e95e8028343a983d92 (patch)
tree3207a86460f81b7bebcd919904fa64c8980c2294 /gdb/python/lib
parent433ae2c2458feca90ce60c617600cc83deaac6a8 (diff)
downloadgdb-e25a613437218e60854241e95e8028343a983d92.zip
gdb-e25a613437218e60854241e95e8028343a983d92.tar.gz
gdb-e25a613437218e60854241e95e8028343a983d92.tar.bz2
[gdb] Re-format dap/startup.py with black
Commit 433ae2c2458 ("[gdb/dap] Catch and log exceptions in dap threads") made some changes to gdb/python/lib/gdb/dap/startup.py. Re-format it with black.
Diffstat (limited to 'gdb/python/lib')
-rw-r--r--gdb/python/lib/gdb/dap/startup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/lib/gdb/dap/startup.py b/gdb/python/lib/gdb/dap/startup.py
index f3b4e35..daaeb28 100644
--- a/gdb/python/lib/gdb/dap/startup.py
+++ b/gdb/python/lib/gdb/dap/startup.py
@@ -78,10 +78,10 @@ def start_thread(name, target, args=()):
# Log when a thread terminates.
log(thread_name + ": terminating")
- result = gdb.Thread(name=name, target=thread_wrapper, args=args,
- daemon=True)
+ result = gdb.Thread(name=name, target=thread_wrapper, args=args, daemon=True)
result.start()
+
def start_dap(target):
"""Start the DAP thread and invoke TARGET there."""
exec_and_log("set breakpoint pending on")