This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]