From: Andrew Cagney <cagney@gnu.org>
To: Randolph Chung <randolph@tausq.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] sigaltstack fixes for hppa-linux
Date: Fri, 07 May 2004 01:19:00 -0000 [thread overview]
Message-ID: <409A92F0.2050209@gnu.org> (raw)
In-Reply-To: <20040504150219.GJ3965@tausq.org>
> This patch fixes sigaltstack handling on hppa. It requires one arch-indep
> change in frame.c: on hppa (stack-grows-up), the relationship of the
> sigaltstack can be that it is not "inner" to the signal frame, if the
> sigaltstack resides in a caller's stack frame (as is true in gdb's testcase.)
The current code handles the transition:
stk 1: caller (this_frame)
stk 2: trampoline (this_frame->next)
stk 2: handler
are you saying that the transition:
stk 1: caller
stk 1: trampoline (this_frame)
stk 2: handler (this_frame->next)
is also possible?
Perhaphs the test should be just:
if (this_frame->type == NORMAL_FRAME
&& this_frame->next->type == NORMAL_FRAME
&& frame_id_inner (get_frame_id (this_frame),
get_frame_id (this_frame->next)))
Andrew
> ok to apply?
next prev parent reply other threads:[~2004-05-07 1:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-04 15:02 Randolph Chung
2004-05-07 1:19 ` Andrew Cagney [this message]
2004-05-07 2:36 ` Randolph Chung
2004-05-07 15:07 ` Randolph Chung
2004-05-07 15:44 ` Andrew Cagney
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=409A92F0.2050209@gnu.org \
--to=cagney@gnu.org \
--cc=gdb-patches@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