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.
# 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")