public inbox for gnu-gabi@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: Michael Matz <matz@suse.de>, gnu-gabi@sourceware.org
Subject: Re: [PATCH] Make _Unwind_GetIPInfo part of the ABI
Date: Fri, 01 Jan 2016 00:00:00 -0000	[thread overview]
Message-ID: <82ccf018-3384-2c3a-be3e-af7e171c2006@redhat.com> (raw)
In-Reply-To: <CAMe9rOoJv_zXdafKgKu81YNORrytCPXh0nQnrUZv=n3mstxs5w@mail.gmail.com>

On 10/21/2016 08:37 PM, H.J. Lu wrote:

>> It's not really clear to me how the glibc unwinders tell traps from faults.

(I meant to write “gcc unwinders”.)

> We can set signal_frame to 0 for SIGCANCEL?

No, SIGCANCEL is a signal frame for all intents in purposes.  (The bug 
was that __gcc_personality_v0 (the C unwinder) completely ignored signal 
frame hints on all architectures.)

The question if INTO should result in a signal frame.  Per Michael's 
comments, it should not because it is a trap and gets reported at the 
immediately following address (which can be in a completely different 
exception handling region).

Thanks,
Florian

  reply	other threads:[~2016-10-21 18:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01  0:00 Florian Weimer
2016-01-01  0:00 ` Michael Matz
2016-01-01  0:00   ` Florian Weimer
2016-01-01  0:00     ` Michael Matz
2016-01-01  0:00       ` Florian Weimer
2016-01-01  0:00         ` H.J. Lu
2016-01-01  0:00           ` Florian Weimer [this message]
2016-01-01  0:00       ` Michael Matz
2016-01-01  0:00         ` Carlos O'Donell

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=82ccf018-3384-2c3a-be3e-af7e171c2006@redhat.com \
    --to=fweimer@redhat.com \
    --cc=gnu-gabi@sourceware.org \
    --cc=hjl.tools@gmail.com \
    --cc=matz@suse.de \
    /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).