[RFC] Addition of remote tracepoints to gdb / gdbserver.

Daniel Jacobowitz drow@mvista.com
Thu Jan 1 22:56:00 GMT 2004


On Fri, Jan 02, 2004 at 03:56:18AM +0530, Ramana Radhakrishnan wrote:
> Now the remote side would have to understand the target floating point 
> format / collect the values for
> the same and hence the actual computation would have to be target 
> specific .2 options
> a. do all calculations in gdbserver
> b. collect all byte sequences and take care of it in gdb.
> 
> Option b seems less expensive.

Yes, but sometimes it's not enough.  In the example I gave you'd have
to do the memory reference at trace collection time.  But I don't
think it's a real problem so option b is probably fine.

> That'd be PTRACE_EXIT_EVENT in the modern kernels.?Something that I 
> missed out in my earlier mails.

Right.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list