This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Tracepoints functionality for local targets
- From: Nicholas Mc Guire <hofrat at hofr dot at>
- To: Doug Evans <dje at google dot com>
- Cc: Lokesh Gupta <lokesh dot gupta at gmail dot com>, gdb at sourceware dot org
- Date: Sat, 1 Mar 2008 11:33:26 -0900 (AKST)
- Subject: Re: Tracepoints functionality for local targets
- References: <21b011a40802260027r596c2c0bt96339538b8e5cc92@mail.gmail.com> <20080226131031.GA9105@caradoc.them.org> <e394668d0802261010n66859f71y2a79172456a7a256@mail.gmail.com>
> > >
> > > Is there some work planned for the working of the tracepoints for
> > > local targets?
> >
> > Not yet, but Doug was talking about it on this list a few days ago.
>
> http://sourceware.org/ml/gdb/2008-02/msg00156.html
>
> The thread starts out talking about gdbserver, but both it and native
> are (briefly) discussed. At this point I'm just researching projects,
> I'm not actively working on this one.
>
well we actually use gdb tracepoints with local targets via gdbserver and
as that works just fine I don't see much point in having two
implementations - the overhead of having a local gdbserver running is not
too high. Note though that with Linux at least there are some subtle
problems related to the way ptraced processes are woken up resulting in
relatively large delays in the child process being traced (see infos and
traces at http://dslab.lzu.edu.cn/~hofrat/tp.html)
patches for tracepoints can also be found at
ftp://dslab.lzu.edu.cn/pub/gdb_tracepoints/
hofrat