Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Randolph Chung <randolph@tausq.org>
Cc: gdb@sources.redhat.com
Subject: Re: interesting unwind problem with noreturn functions
Date: Thu, 02 Mar 2006 15:15:00 -0000	[thread overview]
Message-ID: <20060302151526.GA7033@nevyn.them.org> (raw)
In-Reply-To: <44070B97.2050707@tausq.org>

On Thu, Mar 02, 2006 at 11:13:27PM +0800, Randolph Chung wrote:
> So when you unwind from error(), the hppa frame unwinder tries to unwind 
> from rp=b848c, which is in a different function from the actual caller, 
> and the unwinder gets all confused....
> 
> I suppose this is not a hppa specific thing, other architectures might 
> also encounter the same problem. How is it fixed there? Should the 
> unwinder be storing the PC as RP-offset? (This seems rather ugly, if not 
> wrong.)

Please take a look at frame_unwind_address_in_block.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2006-03-02 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 15:13 Randolph Chung
2006-03-02 15:15 ` 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=20060302151526.GA7033@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=randolph@tausq.org \
    /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