Add "stop at main" extension to DAP launch request
authorTom Tromey <tromey@adacore.com>
Tue, 16 May 2023 15:51:51 +0000 (09:51 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 18:10:10 +0000 (12:10 -0600)
commitad9cdfbcfdf9c7a679393d35adaf95e2b3cb6fd0
tree4f1d81aded77693e686bf3969b8af972bdc3c1b5
parent67efac36f17824b147b3d4645719404ccd662206
Add "stop at main" extension to DAP launch request

Co-workers who work on a program that uses DAP asked for the ability
to have gdb stop at the main subprogram when launching.  This patch
implements this extension.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/gdb.texinfo
gdb/python/lib/gdb/dap/launch.py
gdb/testsuite/gdb.dap/stop-at-main.exp [new file with mode: 0644]
gdb/testsuite/lib/dap-support.exp