* [RFA] Announce mi pending breakpoint support.
@ 2007-12-16 21:33 Vladimir Prus
2007-12-16 22:07 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Prus @ 2007-12-16 21:33 UTC (permalink / raw)
To: gdb-patches
This patch makes the -list-features command announce presence
of the recently committed support for pending breakpoints in MI.
I need it to automatically make use of this functionality in
KDevelop 3.5. OK?
- Volodya
gdb/
* mi/mi-main.c (mi_cmd_list_features): Announce
the 'pending-breakpoints' feature.
gdb/doc/
* gdb.texinfo (Miscellaneous gdb/mi Commands):
Document 'pending-breakpoints' feature of
-list-features.
---
gdb/doc/gdb.texinfo | 4 ++++
gdb/mi/mi-main.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 01f5db5..db4106e 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -21600,6 +21600,10 @@ The current list of features is:
@samp{frozen-varobjs}---indicates presence of the
@code{-var-set-frozen} command, as well as possible presense of the
@code{frozen} field in the output of @code{-varobj-create}.
+@item
+@samp{pending-breakpoints}---indicates presence of the @code{-f}
+option to the @code{-break-insert} command.
+
@end itemize
@subheading The @code{-interpreter-exec} Command
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 025c66d..b23d337 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1054,6 +1054,7 @@ mi_cmd_list_features (char *command, char **argv, int argc)
cleanup = make_cleanup_ui_out_list_begin_end (uiout, "features");
ui_out_field_string (uiout, NULL, "frozen-varobjs");
+ ui_out_field_string (uiout, NULL, "pending-breakpoints");
do_cleanups (cleanup);
--
1.5.3.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-16 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-16 21:33 [RFA] Announce mi pending breakpoint support Vladimir Prus
2007-12-16 22:07 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox