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 8/8] Control agent in testsuite


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


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