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 5/5] Select ipa in testsuite.


On 03/07/2012 03:31 PM, Yao Qi wrote:

> This patch allows gdb testsuite running with different debugging agent.  User
> can set their own in-process agent in their board file,
> 
>   set_board_info in_proc_agent "/somewhere/libsomeagent.so"

>

> If nothing is set in board file, we'll use the default one
> gdbserver/libinproctrace.so.


Looks good.

We should find some central place to document these board
settings...

> +

> +# Return the location of IPA library.


# Return the location of the IPA library.

> +
> +proc get_in_proc_agent {} {
> +    global objdir
> +
> +    if [target_info exists in_proc_agent] {
> +	return [target_info in_proc_agent]
> +    } else {
> +	return $objdir/../gdbserver/libinproctrace.so
> +    }
> +}


-- 
Pedro Alves


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