Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Andreas Jaeger <aj@suse.de>
Cc: Andi Kleen <ak@suse.de>, Mark Kettenis <mark.kettenis@xs4all.nl>,
		gdb@sourceware.org, libc-alpha@sourceware.org
Subject: Re: Notes on a frame_unwind_address_in_block problem
Date: Fri, 18 Aug 2006 15:15:00 -0000	[thread overview]
Message-ID: <20060818151519.GA28356@nevyn.them.org> (raw)
In-Reply-To: <m38xlmqdz0.fsf@gromit.moeb>

On Fri, Aug 18, 2006 at 05:07:47PM +0200, Andreas Jaeger wrote:
> Daniel Jacobowitz <drow@false.org> writes:
> 
> > [...]
> > Good enough for me.  Andreas, in that case, is the patch in
> > http://sourceware.org/ml/gdb/2006-07/msg00131.html OK?
> 
> Why are you using your own cf macros?  We have e.g. CFI_STARTPROC (see
> sysdeps/generic/sysdep.h) and those should be used,

I wrote earlier:

> But, FYI, you can't actually write the unwind tables for these using
> .cfi_* directives.  I tried.  I'd need at least three new directives
> to do it sanely (for uleb128 escapes, sleb128 escapes, and adding the
> "S" augmentation).  So I did it by hand, basically copied from the
> i386 vDSO, but simpler since we don't need any pushes or pops.

Even if I assume a brand new binutils which supports the "S"
augmentation, I would still need to hand-expand uleb128 and sleb128.
I thought there was another reason beyond that one too, but now I
can't remember it.  I could try again (I did this but didn't save the
patch).  But I really don't like having to assume the "S" support
is present and generating bogus unwind info if it isn't.

I suppose I could simply omit the unwind info if it isn't.  Want
me to try that?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-08-18 15:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 22:22 Daniel Jacobowitz
2006-07-13 20:20 ` Mark Kettenis
2006-07-17  7:30   ` Andreas Jaeger
2006-07-17 13:15     ` Mark Kettenis
2006-07-17 13:20       ` Daniel Jacobowitz
2006-07-18  9:48         ` Andreas Jaeger
2006-07-18 18:39           ` Daniel Jacobowitz
2006-08-03  2:04             ` Daniel Jacobowitz
2006-08-03  2:38               ` Andi Kleen
2006-08-03  2:48                 ` Daniel Jacobowitz
2006-08-03  3:12                   ` Andi Kleen
2006-08-03  3:21                     ` Daniel Jacobowitz
2006-08-03  3:29                       ` Andi Kleen
2006-08-03 13:27                         ` Daniel Jacobowitz
2006-08-18 15:08                       ` Andreas Jaeger
2006-08-18 15:15                         ` Daniel Jacobowitz [this message]
2006-08-21  8:50                           ` Andreas Jaeger
2006-08-21 14:19                             ` Ulrich Drepper
2006-08-21 14:52                               ` Daniel Jacobowitz
2006-07-18 18:50   ` Daniel Jacobowitz

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=20060818151519.GA28356@nevyn.them.org \
    --to=drow@false.org \
    --cc=aj@suse.de \
    --cc=ak@suse.de \
    --cc=gdb@sourceware.org \
    --cc=libc-alpha@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /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