public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: rth@twiddle.net
Cc: Andrew Cagney <ac131313@redhat.com>, gdb@sources.redhat.com
Subject: Re: [RFA] fix dwarf2 unwind of pc
Date: Sun, 01 Jun 2003 09:44:00 -0000	[thread overview]
Message-ID: <86k7c6cet9.fsf@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: Richard Henderson's message of "Sat, 31 May 2003 21:27:45 -0700"

Richard Henderson <rth@redhat.com> writes:

> On Sat, May 31, 2003 at 10:48:01PM -0400, Andrew Cagney wrote:
> > The loss of control is likely from a dud return address (used for 
> > setting the return breakpoint) being computed when the the code is first 
> > stepped into dummy().
> 
> Indeed, a problem with the new dwarf2 unwinder.  Neither of the
> targets Mark tested have the return address in a register.  Ok?
> 
> r~
> 
> 	* dwarf2-frame.c (dwarf2_frame_cache): Handle retaddr_column
> 	not overlapping PC_REGNUM.

Ah, GCC is trying to be economical here.  From reading the DWARF
standard I would have expected the compiler to have emitted CFA
instructions that actually put something in the return address column.
Anyway, this shouldn't hurt.

Approved.

Mark

      reply	other threads:[~2003-06-01  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01  1:37 tracking "next" failure? Richard Henderson
2003-06-01  2:48 ` Andrew Cagney
2003-06-01  4:29   ` [RFA] fix dwarf2 unwind of pc Richard Henderson
2003-06-01  9:44     ` Mark Kettenis [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=86k7c6cet9.fsf@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --cc=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=rth@twiddle.net \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).