[pushed] Use 'name' in DAP start_thread function
Checks
Commit Message
The DAP start_thread helper function has a 'name' parameter that is
unused. Apparently I forgot to hook it up to the thread constructor.
This patch fixes the oversight.
---
gdb/python/lib/gdb/dap/startup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -35,7 +35,7 @@ def start_thread(name, target, args=()):
"""Start a new thread, invoking TARGET with *ARGS there.
This is a helper function that ensures that any GDB signals are
correctly blocked."""
- result = gdb.Thread(target=target, args=args, daemon=True)
+ result = gdb.Thread(name=name, target=target, args=args, daemon=True)
result.start()