This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/RFC Prec] Add process record skip 6/6 (doc)


> From: Hui Zhu <teawater@gmail.com>
> Date: Sun, 23 Aug 2009 11:33:28 +0800
> Cc: gdb-patches@sourceware.org, msnyder@vmware.com, green@moxielogic.com
> 
> I make a new patch that have some introduction about record skip entry.
> What do you think about it?

Thanks.  This is much better, but I still don't understand something:

> +The record skip entry is a special breakpoint.  When the process
> +record and replay target start, it will be inserted to the
> +begin of a function.

Which function is that?  The 3 "rec skip" commands you document here
don't give the user a way to specify any functions.  So how does
process record know what function(s) to skip?

>  When this breakpoint break the inferior and
> +@value{GDBN} is in record mode, @value{GDBN} will skip record all
> +the execution log of this function's instructions and record the
> +change of memory and registers of this function as one instruction.

Why is this feature useful?

> +Show the status of record skip.

Will this produce a list of all rec skip entries, or will it just show
the status of the ``current'' record skip (whatever ``current'' may
mean in this context)?  If it shows a list, how about an example of
what this list looks like?

Once I understand these issues, I will be able to suggest how to
reword this text to be more clear, and also improve the markup.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]