public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stan Shebs <shebs@apple.com>
Cc: gdb@sources.redhat.com
Subject: Re: Using reverse execution
Date: Thu, 15 Sep 2005 15:14:00 -0000	[thread overview]
Message-ID: <upsramkhg.fsf@gnu.org> (raw)
In-Reply-To: <43290862.9040204@apple.com> (message from Stan Shebs on Wed, 14 Sep 2005 22:36:34 -0700)

> Date: Wed, 14 Sep 2005 22:36:34 -0700
> From: Stan Shebs <shebs@apple.com>
> Cc: gdb@sources.redhat.com
> 
> Cool! Care to share any details??

I thought I was doing just that...

If you mean to try to answer the questions you rose, like whether to
try to undo system calls, then I'm afraid I don't remember what
happened on the system where I used such a debugger (it was quite some
time ago).

Anyway, one of the latest issues of DrDobb's ran an article about
debuggers that support similar features, with pointers to existing
products, so you could try to find them to get some ideas about
usability of this feature.

> >IMHO, tracepoints remain a curiosity because they were never
> >implemented on a large enough number of platforms.  Lack of native
> >support, in particular, is the main reason for its non-use.
> >
> But don't you think it's telling that not one single person was
> willing to go to the trouble of implementing it on more platforms?

I can only speak for myself.  You once wrote here that tracepoints in
native debugging is something to kill for, but I myself didn't have
time and resources to make that happen.

Basically, the lesson from tracepoints is, I think, that features that
GDB developers (as opposed to users) don't need too much will not
materialize.

> >We could discuss these questions one by one.  But we shouldn't fear
> >them to the degree that prevents us from starting to implement this
> >feature.
> >
> Depending on the answers, the project could be fatally flawed.

I don't think so.

> For instance, if the ability to undo system calls is critical for
> usability, that pretty much relegates reversal to simulator targets
> only - not interesting for my user base. That's why I wanted to talk
> about usage patterns; if users don't need the debugger to do the
> incredibly hard things, then we can get to something useful sooner.

I suspect that answers to most or all of your questions are
"sometimes".  I.e., sometimes the user will want to undo the system
call, and sometimes not.  I even think that sometimes they will want
to _redo_ the system call, since the bug might only happen when the
syscall is made.

This might mean we will have to put in code to ask the user what to do
with a syscall.

  reply	other threads:[~2005-09-15 15:14 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13  1:17 Stan Shebs
2005-09-13  3:43 ` Eli Zaretskii
2005-09-14  0:36   ` Stan Shebs
2005-09-14  3:42     ` Eli Zaretskii
2005-09-14 22:34       ` Stan Shebs
2005-09-15  3:37         ` Eli Zaretskii
2005-09-15  5:36           ` Stan Shebs
2005-09-15 15:14             ` Eli Zaretskii [this message]
2005-09-15 18:02               ` Jason Molenda
2005-09-15 20:12                 ` Stan Shebs
2005-09-16 10:42                   ` Eli Zaretskii
2005-09-16 14:00                     ` Stan Shebs
2005-09-16 16:22                       ` Eli Zaretskii
2005-09-16 18:03                         ` Stan Shebs
2005-09-16 20:50                           ` Eli Zaretskii
2005-09-23 23:20                             ` Stan Shebs
2005-09-16 17:50                       ` Ian Lance Taylor
2005-09-16 10:43                 ` Eli Zaretskii
2005-09-13 18:11 ` Min Xu (Hsu)
2005-09-13 22:01   ` Jim Blandy
2005-09-14  0:42     ` Stan Shebs
2005-09-16 12:03 ` Ramana Radhakrishnan
2005-09-20 22:47 Michael Snyder
2005-09-20 22:56 Michael Snyder
2005-09-20 23:14 ` Ian Lance Taylor
2005-09-21  3:40   ` Eli Zaretskii
2005-09-21  4:00     ` Ian Lance Taylor
2005-09-21 17:52       ` Eli Zaretskii
2005-09-21 20:37       ` Michael Snyder
2005-09-24  0:46         ` Stan Shebs
2005-09-24  1:10           ` Michael Snyder
2005-09-24 10:05           ` Eli Zaretskii
2005-09-27 22:00           ` Jim Blandy
2005-09-21  4:03     ` Daniel Jacobowitz
2005-09-21 16:56 ` Paul Gilliam
2005-09-23 23:44 ` Stan Shebs
2005-09-20 23:11 Michael Snyder
2005-09-24  0:07 ` 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=upsramkhg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=shebs@apple.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).