Re: [patch 8/8] Control agent in testsuite

Pedro Alves
2012-02-09T20:16:55Z

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