Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] Set register even when no frame exists
Date: Fri, 26 Sep 2008 19:09:00 -0000	[thread overview]
Message-ID: <20080926190856.GA9386@caradoc.them.org> (raw)
In-Reply-To: <gbj7fj$667$1@ger.gmane.org>

On Fri, Sep 26, 2008 at 01:51:47PM -0400, Aleksandar Ristovski wrote:
> Simple solution (see the patch attached) is to call "get_current_frame" which will effectively create a sentinel frame.To me having only sentinel frame at this point in game makes a lot of sense.

This doesn't relate to the current frame.  The problem is that we
actually identify some frames using null_frame_id, but also overload
it to mean "there is no frame".

I posted a workaround patch last time this came up though I can't find
it right now.  There's also a description of the general problem at
http://sourceware.org/ml/gdb/2006-05/msg00109.html.

I wanted to come back to it but I'm currently still stuck on the
inlining patches; only one frame unwinder change at a time for me.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2008-09-26 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 17:52 Aleksandar Ristovski
2008-09-26 19:09 ` Daniel Jacobowitz [this message]

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=20080926190856.GA9386@caradoc.them.org \
    --to=drow@false.org \
    --cc=aristovski@qnx.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