From: Tom Tromey Date: Wed, 29 Jun 2011 17:30:01 +0000 (+0000) Subject: gdb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39c4d40aa598e86fe2d8b7822438e76940aa3346;p=binutils-gdb.git gdb 2011-06-29 André Pönitz * mi/mi-main.c (mi_cmd_list_features): Emit breakpoint-notifications. gdb/doc * gdb.texinfo (GDB/MI Miscellaneous Commands): Document breakpoint-notifications feature. --- 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");