This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 8/8] Control agent in testsuite
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 09 Feb 2012 20:16:33 +0000
- Subject: Re: [patch 8/8] Control agent in testsuite
- References: <4F1D55D7.7030506@codesourcery.com> <4F1D6EB4.2030205@codesourcery.com>
On 01/23/2012 02:29 PM, Yao Qi wrote:
> After using agent, we need to run testsuite in two cases, agent is on
> and off. This patch is to add such logic in testsuite, so that we can
> control this through board file. If we add the following line in board
> file,
>
> set_board_info use_agent "on"
>
> the agent is always turned on for remote testing. We need also to turn
> agent on in native debugging, but I'll postpone it when gdb starts to
> use agent.
This is a bit ugly, and I'm not seeing much point as is. You can just
put
set GDBFLAGS "-ex \"set agent on\""
in your board file?
--
Pedro Alves