Re: Tracepoints and Timestamps

Stan Shebs
2011-11-07T16:15:42Z

On 11/7/11 6:53 AM, Abhishek Karoliya wrote:
> Hi Hui,
>
> Thanks for the pointer ... However after going through the
> gdbserver source code, I realise that there is no tracepoint support
> for linux-ppc. So now I have a even bigger problem on my hand.
>
> Does anyone know if I can ppc tracepoint support being actively
> developed and if I can lay my hands on this experimental code.
>

The tracepoint support in GDBserver is pretty generic, and if you don't
need fast tracepoints, there's not really anything that is arch-specific.

I would suggest enabling target_supports_tracepoints for ppc and letting
us know how it goes. If it "just works", then we could change the
target_supports_tracepoints test to make it unconditional - fast
tracepoint support has its own availability check at runtime, it could
subsume the architecture check.

Stan
stan@codesourcery.com