aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-05-16 09:51:51 -0600
committerTom Tromey <tromey@adacore.com>2023-06-12 12:10:10 -0600
commitad9cdfbcfdf9c7a679393d35adaf95e2b3cb6fd0 (patch)
tree4f1d81aded77693e686bf3969b8af972bdc3c1b5 /gdb/doc
parent67efac36f17824b147b3d4645719404ccd662206 (diff)
downloadgdb-ad9cdfbcfdf9c7a679393d35adaf95e2b3cb6fd0.zip
gdb-ad9cdfbcfdf9c7a679393d35adaf95e2b3cb6fd0.tar.gz
gdb-ad9cdfbcfdf9c7a679393d35adaf95e2b3cb6fd0.tar.bz2
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>
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index fc3a330..b10c06a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -39068,6 +39068,11 @@ inferior will be set to exactly as passed in. @xref{Environment}.
@item program
If provided, this is a string that specifies the program to use. This
corresponds to the @code{file} command. @xref{Files}.
+
+@item stopAtBeginningOfMainSubprogram
+If provided, this must be a boolean. When @samp{True}, @value{GDBN}
+will set a temporary breakpoint at the program's main procedure, using
+the same approach as the @code{start} command. @xref{Starting}.
@end table
@value{GDBN} defines some parameters that can be passed to the