From 39c4d40aa598e86fe2d8b7822438e76940aa3346 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 29 Jun 2011 17:30:01 +0000 Subject: [PATCH] =?utf8?q?gdb=202011-06-29=20=20Andr=C3=A9=20P=C3=B6nitz?= =?utf8?q?=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * mi/mi-main.c (mi_cmd_list_features): Emit breakpoint-notifications. gdb/doc * gdb.texinfo (GDB/MI Miscellaneous Commands): Document breakpoint-notifications feature. --- gdb/ChangeLog | 5 +++++ gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 3 +++ gdb/mi/mi-main.c | 1 + 4 files changed, 14 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6961d69af89..8088114269f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-06-29 André Pönitz + + * mi/mi-main.c (mi_cmd_list_features): Emit + breakpoint-notifications. + 2011-06-29 Tom Tromey PR fortran/10036: diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index bdff2462de3..12404f836f5 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-29 Tom Tromey + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document + breakpoint-notifications feature. + 2011-06-29 Ulrich Weigand * gdb.texinfo (Target Description): Remove warning about diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index ca2b4d58749..046bf5499a6 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -30066,6 +30066,9 @@ Indicates presence of the @code{-thread-info} command. @item data-read-memory-bytes Indicates presense of the @code{-data-read-memory-bytes} and the @code{-data-write-memory-bytes} commands. +@item breakpoint-notifications +Indicates that changes to breakpoints and breakpoints created via the +CLI will be announced via async records. @end table diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index ca62a307641..7592a74e630 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1708,6 +1708,7 @@ mi_cmd_list_features (char *command, char **argv, int argc) ui_out_field_string (uiout, NULL, "pending-breakpoints"); ui_out_field_string (uiout, NULL, "thread-info"); ui_out_field_string (uiout, NULL, "data-read-memory-bytes"); + ui_out_field_string (uiout, NULL, "breakpoint-notifications"); #if HAVE_PYTHON ui_out_field_string (uiout, NULL, "python"); -- 2.30.2