From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Fix frame-issue with watchpoints...
Date: Fri, 06 Oct 2006 02:03:00 -0000 [thread overview]
Message-ID: <20061006020348.GB980@adacore.com> (raw)
In-Reply-To: <20061006012018.GA19918@nevyn.them.org>
> > The issue in our case is that "current_frame" is NULL too, probably
> > because we never needed it before in our case (just finished off
> > single-stepping out of the breakpoint and immediately getting ready
> > to resume) and therefore never set it to a proper value.
>
> This is 100% bogus. If we leave this code at all, we should absolutely
> do this:
>
> > One way to bandaid this, probably along the lines that Andrew was
> > trying to do (try to recover from a situation that should not happen),
> > is to replace "current_frame" by get_current_frame().
>
> Or just kill it.
Let me do a testsuite run without this code, and see what comes out
of it. Perhaps it's time to kill it.
> is also right. Except that you really scared me here: you are actually
> starting from the _innermost_ frame, not the _outermost_.
Argh, yes, of course! I keep thinking the wrong way when I don't pay
attention. Sorry.
> > 2006-10-05 Joel Brobecker <brobecker@adacore.com>
> >
> > * blockframe.c (block_innermost_frame): Rewrite frame search logic.
> >
> > Tested on x86-linux, no regression. A new testcase to be submitted soon.
> > OK to apply?
>
> OK.
Thanks, now applied. (and thanks for the lightning-fast review, it is
always very much appreciated)
--
Joel
next prev parent reply other threads:[~2006-10-06 2:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-06 0:50 Joel Brobecker
2006-10-06 1:20 ` Daniel Jacobowitz
2006-10-06 2:03 ` Joel Brobecker [this message]
2006-10-06 17:34 ` Joel Brobecker
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=20061006020348.GB980@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sources.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