From: Michael Snyder <msnyder@specifix.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Greg Law <glaw@undo-software.com>, gdb-patches@sourceware.org
Subject: Re: SIGSEGV on gdb 6.7*
Date: Wed, 27 Feb 2008 00:54:00 -0000 [thread overview]
Message-ID: <1204073493.19253.382.camel@localhost.localdomain> (raw)
In-Reply-To: <20080227004305.GA29652@caradoc.them.org>
On Tue, 2008-02-26 at 19:43 -0500, Daniel Jacobowitz wrote:
> On Tue, Feb 26, 2008 at 04:37:33PM -0800, Michael Snyder wrote:
> > On Tue, 2008-02-26 at 19:26 -0500, Daniel Jacobowitz wrote:
> > > On Tue, Feb 26, 2008 at 02:54:47PM -0800, Michael Snyder wrote:
> > > > That said -- I agree with Daniel. I can see where
> > > > flushing the register cache and flushing the frame cache
> > > > are two things that should probably always be done at
> > > > the same time -- but I'm worried about the extra overhead
> > > > that this patch introduces. We call registers_changed
> > > > A LOT, and in doing so we assume that it has a very
> > > > low overhead.
> > >
> > > If the registers have changed, how can the frame cache still possibly
> > > be valid?
> >
> > No argument -- it can't.
> >
> > Are you swinging around toward wanting to accept this patch?
> > ;-)
>
> I'm talking about Greg's version, which calls it from registers_changed.
Yeah, me too. This is that thread. ;-)
> What do you think of that one?
I think it's probably the right thing to do, I'm must
a little concerned about the overhead. I wouldn't oppose
putting it in, I just thought we could benefit from a little
breathing room to think about it.
The only case where we know it will crash is reg_flush_command,
and in that case, flushing the frames is unquestionably desirable.
So if we fix it there, we cover the known crasher, and then we
have breathing space to contemplate the more general fix.
Or, we can just accept Greg's patch.
Back to you... what's your inclination? ;-)
next prev parent reply other threads:[~2008-02-27 0:51 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 20:50 Greg Law
2008-02-04 21:04 ` Daniel Jacobowitz
2008-02-04 21:39 ` Greg Law
[not found] ` <47A7850B.10202@undo-software.com>
2008-02-04 21:45 ` Daniel Jacobowitz
2008-02-04 21:59 ` Greg Law
2008-02-04 22:11 ` Daniel Jacobowitz
2008-02-04 22:36 ` Greg Law
2008-02-11 20:59 ` Greg Law
2008-02-26 23:00 ` Michael Snyder
2008-02-27 0:37 ` Daniel Jacobowitz
2008-02-27 0:43 ` Michael Snyder
2008-02-27 0:51 ` Daniel Jacobowitz
2008-02-27 0:54 ` Michael Snyder [this message]
2008-02-27 1:05 ` Daniel Jacobowitz
2008-02-27 1:08 ` Michael Snyder
2008-02-27 20:23 ` Greg Law
2008-02-28 7:46 ` Vladimir Prus
2008-02-28 14:17 ` Thiago Jung Bauermann
2008-02-28 16:18 ` Daniel Jacobowitz
2008-02-28 14:17 ` Daniel Jacobowitz
2008-03-04 20:09 ` 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=1204073493.19253.382.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=glaw@undo-software.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