Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] doc for "info record"
@ 2009-10-21 15:33 Michael Snyder
  2009-10-21 18:11 ` Eli Zaretskii
  2009-10-22 12:57 ` Pedro Alves
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Snyder @ 2009-10-21 15:33 UTC (permalink / raw)
  To: gdb-patches, Pedro Alves, Eli Zaretskii, Hui Zhu

[-- Attachment #1: Type: text/plain, Size: 34 bytes --]

Look ok to you Eli?  Pedro?  Hui?

[-- Attachment #2: infodoc.txt --]
[-- Type: text/plain, Size: 1325 bytes --]

2009-10-21  Michael Snyder  <msnyder@vmware.com>

	* gdb.texinfo (Process Record and Replay): Document new form of
	info record command.

Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.634
diff -u -p -r1.634 gdb.texinfo
--- gdb.texinfo	19 Oct 2009 09:51:42 -0000	1.634
+++ gdb.texinfo	21 Oct 2009 15:30:37 -0000
@@ -5516,9 +5516,19 @@ oldest record to make room for each new 
 @item show record stop-at-limit
 Show the current setting of @code{stop-at-limit}.
 
-@kindex info record insn-number
-@item info record insn-number
-Show the current number of recorded instructions.
+@kindex info record
+@item info record
+Show various statistics about the state of process record and its
+in-memory execution log buffer, including:
+
+@table @code
+@item whether in record mode or replay mode.
+@item Lowest recorded instruction number (counting from when the current execution log started recording instructions).
+@item Highest recorded instruction number.
+@item Current instruction about to be replayed (if in replay mode).
+@item Number of instructions contained in the execution log.
+@item Max number of instructions that may be contained in the execution log.
+@end table
 
 @kindex record delete
 @kindex rec del

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFA] doc for "info record"
  2009-10-21 15:33 [RFA] doc for "info record" Michael Snyder
@ 2009-10-21 18:11 ` Eli Zaretskii
  2009-10-22 19:40   ` Michael Snyder
  2009-10-22 12:57 ` Pedro Alves
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2009-10-21 18:11 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches, pedro, teawater

> Date: Wed, 21 Oct 2009 08:27:02 -0700
> From: Michael Snyder <msnyder@vmware.com>
> 
> Look ok to you Eli?

Yes, with a few comments:

> +Show various statistics about the state of process record and its
> +in-memory execution log buffer, including:
> +
> +@table @code

@table, and @code on top of that, is inappropriate for what you want
here: a list of p[lain-text items.  Please use @itemize @bullet or
@itemize @minus.  Note that with @itemize, you need to have each @item
alone on its line, and the text should be on the following line, like
this:

  @item
  Whether in record mode or replay mode.

> +@item whether in record mode or replay mode.
> +@item Lowest recorded instruction number (counting from when the current execution log started recording instructions).

Please capitalize the first word of each @item consistently.

> +@item Max number of instructions that may be contained in the execution log.
         ^^^
No need to use abbreviations in a manual.

Okay with these corrections.

Thanks.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFA] doc for "info record"
  2009-10-21 15:33 [RFA] doc for "info record" Michael Snyder
  2009-10-21 18:11 ` Eli Zaretskii
@ 2009-10-22 12:57 ` Pedro Alves
  1 sibling, 0 replies; 5+ messages in thread
From: Pedro Alves @ 2009-10-22 12:57 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches, Eli Zaretskii, Hui Zhu

On Wednesday 21 October 2009 16:27:02, Michael Snyder wrote:
> Look ok to you Eli?  Pedro?  Hui?

FAOD, it looks fine to me too, pending Eli's remarks
being addressed.  Thanks!

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFA] doc for "info record"
  2009-10-21 18:11 ` Eli Zaretskii
@ 2009-10-22 19:40   ` Michael Snyder
  2009-10-23  1:49     ` Hui Zhu
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2009-10-22 19:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches, pedro, teawater

Eli Zaretskii wrote:
>> Date: Wed, 21 Oct 2009 08:27:02 -0700
>> From: Michael Snyder <msnyder@vmware.com>
>>
>> Look ok to you Eli?
> 
> Yes, with a few comments:
> 
>> +Show various statistics about the state of process record and its
>> +in-memory execution log buffer, including:
>> +
>> +@table @code
> 
> @table, and @code on top of that, is inappropriate for what you want
> here: a list of p[lain-text items.  Please use @itemize @bullet or
> @itemize @minus.  Note that with @itemize, you need to have each @item
> alone on its line, and the text should be on the following line, like
> this:
> 
>   @item
>   Whether in record mode or replay mode.
> 
>> +@item whether in record mode or replay mode.
>> +@item Lowest recorded instruction number (counting from when the current execution log started recording instructions).
> 
> Please capitalize the first word of each @item consistently.
> 
>> +@item Max number of instructions that may be contained in the execution log.
>          ^^^
> No need to use abbreviations in a manual.
> 
> Okay with these corrections.

Done, and committed.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFA] doc for "info record"
  2009-10-22 19:40   ` Michael Snyder
@ 2009-10-23  1:49     ` Hui Zhu
  0 siblings, 0 replies; 5+ messages in thread
From: Hui Zhu @ 2009-10-23  1:49 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Eli Zaretskii, gdb-patches, pedro

Thanks.

Hui

On Fri, Oct 23, 2009 at 03:33, Michael Snyder <msnyder@vmware.com> wrote:
> Eli Zaretskii wrote:
>>>
>>> Date: Wed, 21 Oct 2009 08:27:02 -0700
>>> From: Michael Snyder <msnyder@vmware.com>
>>>
>>> Look ok to you Eli?
>>
>> Yes, with a few comments:
>>
>>> +Show various statistics about the state of process record and its
>>> +in-memory execution log buffer, including:
>>> +
>>> +@table @code
>>
>> @table, and @code on top of that, is inappropriate for what you want
>> here: a list of p[lain-text items.  Please use @itemize @bullet or
>> @itemize @minus.  Note that with @itemize, you need to have each @item
>> alone on its line, and the text should be on the following line, like
>> this:
>>
>>  @item
>>  Whether in record mode or replay mode.
>>
>>> +@item whether in record mode or replay mode.
>>> +@item Lowest recorded instruction number (counting from when the current
>>> execution log started recording instructions).
>>
>> Please capitalize the first word of each @item consistently.
>>
>>> +@item Max number of instructions that may be contained in the execution
>>> log.
>>
>>         ^^^
>> No need to use abbreviations in a manual.
>>
>> Okay with these corrections.
>
> Done, and committed.
>
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-23  1:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-21 15:33 [RFA] doc for "info record" Michael Snyder
2009-10-21 18:11 ` Eli Zaretskii
2009-10-22 19:40   ` Michael Snyder
2009-10-23  1:49     ` Hui Zhu
2009-10-22 12:57 ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox