[patch 5/8] Doc for agent

Yao Qi yao@codesourcery.com
Thu Jan 26 01:53:00 GMT 2012


On 01/24/2012 01:54 PM, Eli Zaretskii wrote:
>> > I remove this paragraph because it fits to the concept of tracepoint
>> > ("observer the program's behavior without interrupting it"), and the
>> > agent work can do more than that.
> What can it do in addition?  I don't think your new text said anything
> about that.
> 
>> > I don't mind putting it back at the
>> > the beginning of chapter "Debugging Agent" as another problem statement.
> I think it should be the only statement of the problem.  If the agent
> has additional benefits, their description should be added to the
> above text.

The agent has only one benefit so far, that is, reducing interference
with program during debugging.  However, I gave two problems at the
beginning, one is that program is wrong, but interference prevent
reproducing it, for example, races in threads.  The other is that
program is right, but interference changes its behavior and program
fails finally.  These two problems can be treated as a single problem,
from some point of view.  My previous reply might be misleading.

Here is a new doc patch.

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-agent-doc.patch
Type: text/x-patch
Size: 10034 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120126/81391a0b/attachment.bin>


More information about the Gdb-patches mailing list