[gdb/dap] Move send_gdb and send_gdb_with_response to server module
commitfd09caf44f193fb4359376b27904bad0a16ca594
authorTom de Vries <tdevries@suse.de>
Thu, 29 Feb 2024 20:29:34 +0000 (29 21:29 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 29 Feb 2024 20:29:34 +0000 (29 21:29 +0100)
tree2396aca702fc210f083ef2eb762b66f3a94814b4
parentbbb12eb9c84aa2b32480b7c022c494c2469ef717
[gdb/dap] Move send_gdb and send_gdb_with_response to server module

Move functions send_gdb and send_gdb_with_response, as well as class Invoker
to server module.

Separated out to make the following patch easier to read.

Tested on aarch64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/python/lib/gdb/dap/next.py
gdb/python/lib/gdb/dap/server.py
gdb/python/lib/gdb/dap/startup.py