This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Addition of remote tracepoints to gdb / gdbserver.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- Cc: Andrew Cagney <cagney at gnu dot org>, gdb at sources dot redhat dot com,ankit thukral <ankit_plug at yahoo dot com>
- Date: Thu, 1 Jan 2004 17:55:08 -0500
- Subject: Re: [RFC] Addition of remote tracepoints to gdb / gdbserver.
- References: <3FF49153.50100@codito.com> <20040101214655.GB12798@nevyn.them.org> <3FF49E8A.7020403@codito.com>
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