aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-12-14 18:15:47 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-12-14 18:15:47 +0000
commitafe8ab2206b453d775fe82aec2d3073181251a3e (patch)
treef0eddb3d26aef60db9cb71d3513089cfb9fb6c15 /gdb/doc
parent72b2ff0e02a1e6deaf32770f4ac82cf12fae3c2b (diff)
downloadbinutils-afe8ab2206b453d775fe82aec2d3073181251a3e.zip
binutils-afe8ab2206b453d775fe82aec2d3073181251a3e.tar.gz
binutils-afe8ab2206b453d775fe82aec2d3073181251a3e.tar.bz2
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.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo16
2 files changed, 15 insertions, 7 deletions
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 <vladimir@codesourcery.com>
+
+ * 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 <dan@codesourcery.com>
* 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