Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stan@codesourcery.com>
To: gdb@sourceware.org
Subject: Tracepoint enhancements
Date: Fri, 31 Oct 2008 20:46:00 -0000	[thread overview]
Message-ID: <490B630F.8010008@codesourcery.com> (raw)

There is some interest in pumping up GDB's tracepoint capabilities, in 
particular to make it more suitable for cross-debugging a target with 
serious performance constraints. While a lot of the detail is centered 
around making a faster stub and other low-level tweaks, we are going to 
do MI for tracing finally, plus it's an opportunity to review the 
existing trace commands and consider what interface changes are 
desirable. In particular, we will want to think about how tracing should 
interoperate with non-stop debugging and multi-process.

So the first question that comes to my mind is: how many people are 
actually using the trace commands right now? If they're not being much 
used, then we have more flexibility about making user-visible changes.

One possible change to consider is to merge tracepoint setting into 
breakpoint setting. Among other benefits would be a single numbering 
scheme for breakpoints and tracepoints, plus we will be able to share 
some machinery and make things more consistent.

A bigger change would be to introduce a general notion of execution 
history, which could subsume fork checkpoints and trace snapshots, maybe 
tie into some versions of reverse debugging as well.

What else should we be thinking about doing?

(There are of course all kinds of implementation-level changes to make, 
but at the moment I'm focussed on the user experience.)

Stan



             reply	other threads:[~2008-10-31 19:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 20:46 Stan Shebs [this message]
     [not found] ` <490B6CEF.2000003@vmware.com>
2008-11-01  8:40   ` Vladimir Prus
2008-11-03 18:20     ` Michael Snyder
2008-11-04 21:17       ` Stan Shebs
2008-11-05  7:14         ` Vladimir Prus
     [not found]     ` <Pine.LNX.4.58.0811060523150.8468@vlab.hofr.at>
2008-11-06 18:19       ` Vladimir Prus
2008-11-03  6:38   ` Jakob Engblom
2008-11-03 18:27     ` Michael Snyder
2008-11-03 18:53       ` Jakob Engblom
2008-11-03 19:23         ` Michael Snyder
2008-11-04 14:00           ` Jakob Engblom
2008-11-04 21:37           ` Stan Shebs
2008-11-04 21:58             ` Michael Snyder
2008-11-05  9:04             ` Jakob Engblom
2008-11-03  9:12 ` Jeremy Bennett
2008-11-04 21:26   ` Stan Shebs

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=490B630F.8010008@codesourcery.com \
    --to=stan@codesourcery.com \
    --cc=gdb@sourceware.org \
    /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