This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 3/8] Command `set agent on|off'
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 23 Jan 2012 19:13:26 +0200
- Subject: Re: [patch 3/8] Command `set agent on|off'
- References: <4F1D55D7.7030506@codesourcery.com> <4F1D659F.40608@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?