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: [patch 3/8] Command `set agent on|off'


> Date: Tue, 24 Jan 2012 07:46:46 +0800
> From: Yao Qi <yao@codesourcery.com>
> CC: <gdb-patches@sourceware.org>
> 
> How about this,
> 
> Set debugger's willingness to use agent as a helper."), _("\
> Show debugger's willingness to use agent as a helper."), _("\
> Agent, a shared library running in the same process of inferior, takes
> some delegated debugging works from GDB/GDBserver.  Since it is faster
> to execute some debugging operations in agent than in GDB/GDBserver, the
> performance of debugging can be improved.  The delegated debugging works
> vary on agents, depend on the actual capability of agents.
> If on, gdb will use agent as a helper if it is supported by the target.\n\
> If off, gdb will not use agent, even if such is supported by the target\n"),

Thanks, but I think this goes too far.  I suggest this shorter
description:

  If ON, GDB will delegate some of the debugging operations to the
  agent, if the target supports it.  This will speed up those
  operations that are supported by the agent.
  If OFF GDB will not use agent, even if such is supported by the
  target.

Also note that your last sentence lacks a period at its end.


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