This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA/doc] Cleanup -break-insert documentation
- From: Keith Seitz <keiths at redhat dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 20 Jun 2012 12:27:36 -0700
- Subject: [RFA/doc] Cleanup -break-insert documentation
Hi,
While working on some MI-related tasks, I had occasion to peek at the
documentation for -break-insert.
This patch does several minor things:
- it re-orders the list of options to for -break-insert to match the
order given in synopsis
- it uses "thread-id" instead of "thread" in the synopsis (to make it
more consistent with other documentation)
- it adds/documents "-p" in the list of options
Keith
doc/ChangeLog
2012-06-20 Keith Seitz <keiths@redhat.com>
* gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options
for -break-insert and document -p.
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.976
diff -u -p -r1.976 gdb.texinfo
--- doc/gdb.texinfo 20 Jun 2012 04:02:21 -0000 1.976
+++ doc/gdb.texinfo 20 Jun 2012 19:06:34 -0000
@@ -28020,7 +28020,7 @@ N.A.
@smallexample
-break-insert [ -t ] [ -h ] [ -f ] [ -d ] [ -a ]
[ -c @var{condition} ] [ -i @var{ignore-count} ]
- [ -p @var{thread} ] [ @var{location} ]
+ [ -p @var{thread-id} ] [ @var{location} ]
@end smallexample
@noindent
@@ -28043,10 +28043,6 @@ The possible optional parameters of this
Insert a temporary breakpoint.
@item -h
Insert a hardware breakpoint.
-@item -c @var{condition}
-Make the breakpoint conditional on @var{condition}.
-@item -i @var{ignore-count}
-Initialize the @var{ignore-count}.
@item -f
If @var{location} cannot be parsed (for example if it
refers to unknown files or functions), create a pending
@@ -28058,6 +28054,12 @@ Create a disabled breakpoint.
@item -a
Create a tracepoint. @xref{Tracepoints}. When this parameter
is used together with @samp{-h}, a fast tracepoint is created.
+@item -c @var{condition}
+Make the breakpoint conditional on @var{condition}.
+@item -i @var{ignore-count}
+Initialize the @var{ignore-count}.
+@item -p @var{thread-id}
+Restrict the breakpoint to the specified @var{thread-id}.
@end table
@subsubheading Result