Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Andrew Pinski <pinskia@gmail.com>,
	       "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: RFC: fix PR backtrace/15558
Date: Mon, 14 Apr 2014 18:42:00 -0000	[thread overview]
Message-ID: <534C2C19.1010503@redhat.com> (raw)
In-Reply-To: <87ha5vrdki.fsf@fleche.redhat.com>

On 04/14/2014 07:06 PM, Tom Tromey wrote:
>>>>>> "Andrew" == Andrew Pinski <pinskia@gmail.com> writes:
> 
> Andrew>   What happened to this patch, I don't see any reference to it latter
> Andrew> on?  I think I am running into the same problem as this patch is
> Andrew> fixing.
> 
> I never got back to fixing it according to Pedro's review.
> 
> As I recall it isn't entirely trivial because for a good fix one would
> need to expose some new Python methods for use by the frame filter code.

Hmm.  Not sure what you're thinking of.  We discussed auditing all
get_prev_frame uses and see if they are better replaced by
get_prev_frame_1, but I don't think that should hold back
fixing the inline frame unwinder.  In the particular case of the
inline frame unwinder, I believe we should simply be making
inline_frame_this_id call get_prev_frame_1 instead of
get_prev_frame.  Let me give it a try.  Hmm, your test doesn't
trigger the bug for me as is, but
I can trigger it in the CLI without Python.  Ah, a "flushregs"
is missing to force re-unwinding and recomputing the frame id.
A sec and I'll post something.

-- 
Pedro Alves


  reply	other threads:[~2014-04-14 18:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 19:35 Tom Tromey
2013-06-06 23:42 ` Pedro Alves
2013-06-21 21:21   ` Tom Tromey
2014-04-10 23:56     ` Andrew Pinski
2014-04-14 18:06       ` Tom Tromey
2014-04-14 18:42         ` Pedro Alves [this message]
2014-04-14 18:52           ` Tom Tromey
2014-04-14 23:14             ` Pedro Alves
2014-04-16 20:03               ` Tom Tromey
2014-04-18  9:43                 ` Pedro Alves

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=534C2C19.1010503@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pinskia@gmail.com \
    --cc=tromey@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