* [RFA/doc] Cleanup -break-insert documentation
@ 2012-06-20 19:27 Keith Seitz
2012-06-20 19:40 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2012-06-20 19:27 UTC (permalink / raw)
To: gdb-patches@sourceware.org ml
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/doc] Cleanup -break-insert documentation
2012-06-20 19:27 [RFA/doc] Cleanup -break-insert documentation Keith Seitz
@ 2012-06-20 19:40 ` Eli Zaretskii
2012-06-20 20:12 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2012-06-20 19:40 UTC (permalink / raw)
To: Keith Seitz; +Cc: gdb-patches
> Date: Wed, 20 Jun 2012 12:27:36 -0700
> From: Keith Seitz <keiths@redhat.com>
>
> 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.
This is OK, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/doc] Cleanup -break-insert documentation
2012-06-20 19:40 ` Eli Zaretskii
@ 2012-06-20 20:12 ` Keith Seitz
0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2012-06-20 20:12 UTC (permalink / raw)
To: gdb-patches
On 06/20/2012 12:39 PM, Eli Zaretskii wrote:
>> 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.
>
> This is OK, thanks.
Committed. Thank you for taking a look.
Keith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-20 20:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20 19:27 [RFA/doc] Cleanup -break-insert documentation Keith Seitz
2012-06-20 19:40 ` Eli Zaretskii
2012-06-20 20:12 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox