« Return to Thread: [patch 0/5] Install fast tracepoint via IPA

Re: [PATCH 5/5] Select ipa in testsuite.

by Pedro Alves-7 :: Rate this Message:

| View in Thread

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

 « Return to Thread: [patch 0/5] Install fast tracepoint via IPA