From: "Doug Evans" <dje@google.com>
To: "Michael Snyder" <msnyder@specifix.com>
Cc: gdb@sourceware.org
Subject: Re: gdbserver tracepoint support (from Project Ideas page)
Date: Fri, 22 Feb 2008 17:24:00 -0000 [thread overview]
Message-ID: <e394668d0802220848s52df615er1b024c068ab88ede@mail.gmail.com> (raw)
In-Reply-To: <1203623152.19253.193.camel@localhost.localdomain>
On Thu, Feb 21, 2008 at 11:45 AM, Michael Snyder <msnyder@specifix.com> wrote:
> > A hybrid approach would be way cool (i.e.
> > instrumenting the target program so tracepoints didn't stop the
> > program even when running natively - this is where remote targets have
> > an advantage, the stub is already in the same address space and
> > process - but that ups the complexity a wee bit).
>
> I've always thought that one interesting implementation for
> tracepoint data collection would be as a shared library that
> the child program could be linked with at runtime -- in the
> manner of libsegfault, so that you don't have to change the
> child program at all. In that way, it would share address
> space and only incur the cost of a signal handler, not a
> full context switch (or even a thread context switch).
>
> Is that something like your thinking?
That is one way to implement it, my "way cool" comment had in mind a
more efficient implementation (albeit more complex too). I don't have
any numbers so I'm not advocating one over the other.
btw, is there any existing implementation anywhere for a remote
target? Something in libgloss or rda (redhat debug agent?) or some
such?
prev parent reply other threads:[~2008-02-22 16:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 0:01 Doug Evans
2008-02-21 0:19 ` Michael Snyder
2008-02-21 1:06 ` Doug Evans
2008-02-21 1:34 ` Michael Snyder
2008-02-21 1:36 ` Daniel Jacobowitz
2008-02-21 1:42 ` Doug Evans
2008-02-21 13:44 ` Daniel Jacobowitz
2008-02-21 20:59 ` Michael Snyder
2008-02-22 17:24 ` Doug Evans [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e394668d0802220848s52df615er1b024c068ab88ede@mail.gmail.com \
--to=dje@google.com \
--cc=gdb@sourceware.org \
--cc=msnyder@specifix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox