Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Alexandre Courbot <Alexandre.Courbot@lifl.fr>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: Using gdb as a trace agent
Date: Mon, 17 May 2004 16:49:00 -0000	[thread overview]
Message-ID: <40A8ECB7.8000107@lifl.fr> (raw)
In-Reply-To: <vt27jvbax37.fsf@zenia.home>

>>In my quest to get datas out of a program as non-intrusively as
>>possible (I'm trying to get graphes out of the memory manager of an
>>embedded operating system), I'm having a close and interested look at
>>gdb tracepoints. It looks like a great solution, but unfortunately:
>>
>>- It only works on remote targets, dixit the manual,
> 
> 
> How are you communicating with the target?

Right now, preferred ways to use GDB with this platform is either to 
generate a native binary for your GNU environment (in which case GDB can 
run non-remotely, but tracepoints seems not to be supported at all in 
this case), or to generate a Game Boy Advance ROM that you run with some 
emulator that supports GDB. But that does not support tracepoints, 
unfortunately.

The ideal for me would be to be able to use tracepoints in both cases 
(i.e. remote and local). What would prevent a local support for tracepoints?

> I remember Michael talking about getting the stub tracing code
> released to the public, but I don't remember what came of that.
> Michael?

That would be nice indeed. But no chance to get tracepoints to work 
locally? That would turn GDB into a great analysis tool. I'm already 
successfully using it to generate Gnuplot data, and it would be just 
great if I could do it less intrusively so I can exploit these datas 
along with time.

Maybe if the task is not to huge I could try myself to it, for it would 
dramatically ease my life.

Thanks for your reply,
Alex.
-- 
Alexandre Courbot - PhD student
RD2P/LIFL
http://www.lifl.fr/~courbot


  reply	other threads:[~2004-05-17 16:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-17 13:00 Alexandre Courbot
2004-05-17 15:36 ` Jim Blandy
2004-05-17 16:49   ` Alexandre Courbot [this message]
2004-05-17 18:09     ` Eli Zaretskii
2004-05-17 18:29       ` Jim Blandy
2004-05-17 22:17         ` Alexandre Courbot
2004-05-18  7:07           ` Ramana Radhakrishnan
2004-05-18  8:33             ` Alexandre Courbot

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=40A8ECB7.8000107@lifl.fr \
    --to=alexandre.courbot@lifl.fr \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@redhat.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