From afe8ab2206b453d775fe82aec2d3073181251a3e Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 14 Dec 2007 18:15:47 +0000 Subject: Add support for pending breakpoints in MI. * gdb.h (gdb_breakpoint): Add parameter pending. * breakpoint.c (gdb_breakpoint): Add parameter pending. * mi/mi-cmd-break.c (mi_break_insert): Change comment to refer to manual. Add support for the -f flag, for pending breakpoint. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 16 +++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 181146e..01527fa 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2007-12-14 Vladimir Prus + + * gdb.texinfo (GDB/MI Breakpoint Commands): Document + the -f option for -break-insert, remove -r option, + and clarify specification of location. + 2007-11-30 Daniel Jacobowitz * gdb.texinfo (Debugging Programs with Multiple Processes): Correct diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 35cc057..8b73e08 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18163,13 +18163,13 @@ N.A. @subsubheading Synopsis @smallexample - -break-insert [ -t ] [ -h ] [ -r ] + -break-insert [ -t ] [ -h ] [ -f ] [ -c @var{condition} ] [ -i @var{ignore-count} ] - [ -p @var{thread} ] [ @var{line} | @var{addr} ] + [ -p @var{thread} ] [ @var{location} ] @end smallexample @noindent -If specified, @var{line}, can be one of: +If specified, @var{location}, can be one of: @itemize @bullet @item function @@ -18192,10 +18192,12 @@ Insert a hardware breakpoint. Make the breakpoint conditional on @var{condition}. @item -i @var{ignore-count} Initialize the @var{ignore-count}. -@item -r -Insert a regular breakpoint in all the functions whose names match the -given regular expression. Other flags are not applicable to regular -expressions. +@item -f +If @var{location} cannot be parsed (for example if it +refers to unknown files or functions), create a pending +breakpoint. Without this flag, @value{GDBN} will report +an error, and won't create a breakpoint, if @var{location} +cannot be parsed. @end table @subsubheading Result -- cgit v1.1