[PATCH 5/5] Select ipa in testsuite.

Pedro Alves palves@redhat.com
Wed Mar 14 20:11:00 GMT 2012


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



More information about the Gdb-patches mailing list