forked from Imagelibrary/binutils-gdb
Log gdb version and configuration in DAP
I think it would be useful for gdb's DAP logs to come with the version and configuration information. This might make debugging some bug reports a little simpler.
This commit is contained in:
@@ -92,5 +92,8 @@ def pre_command_loop():
|
||||
# session.
|
||||
session_started = True
|
||||
startup.thread_log("starting DAP server")
|
||||
# These are handy for bug reports.
|
||||
startup.exec_and_log("show version")
|
||||
startup.exec_and_log("show configuration")
|
||||
global server
|
||||
startup.start_dap(server.main_loop)
|
||||
|
||||
Reference in New Issue
Block a user