Re: [patch 3/8] Command `set agent on|off'

Eli Zaretskii
2012-01-23T17:13:49Z

> Date: Mon, 23 Jan 2012 21:50:23 +0800
> From: Yao Qi <yao@codesourcery.com>
>
> We want to leave users to decide whether they want to use agent or not,
> so we add a new command `set agent on|off' in this patch.

Thanks.

> + add_setshow_enum_cmd ("agent", class_run,
> + can_use_agent_enum,
> + &can_use_agent, _("\
> +Set debugger's willingness to use agent as a helper."), _("\
> +Show debugger's willingness to use agent as a helper."), _("\
> +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"),

This doc string should say a little more. In particular, what is the
purpose of using "agent as a helper"? helper to do what?