Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: "J. Johnston" <jjohnstn@redhat.com>, Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: change to ia64-linux-tdep.c
Date: Thu, 16 Oct 2003 00:43:00 -0000	[thread overview]
Message-ID: <1031016004306.ZM23941@localhost.localdomain> (raw)
In-Reply-To: "J. Johnston" <jjohnstn@redhat.com> "Re: RFA: change to ia64-linux-tdep.c" (Oct 15,  6:58pm)

On Oct 15,  6:58pm, J. Johnston wrote:

> Kevin Buettner wrote:
> > On Oct 15,  6:03pm, J. Johnston wrote:
> > 
> >>The following changes the code in ia64_linux_sigcontext_register_address to use 
> >>the fact that the sigframe has the address of the sigcontext area stored at 
> >>offset 16 from the stack pointer.  This change avoids using a magic constant to 
> >>find the start of the sigcontext area which may change in various kernel 
> >>versions as fields are added or subtracted to the sigframe.
> >>
> >>Code has been tested with signal handling test cases.
> >>
> >>The following is an excerpt of the linux kernel sigframe.h code:
> >>
> >>struct sigframe {
> >>         /*
> >>          * Place signal handler args where user-level unwinder can find them 
> >>easily.
> >>          * DO NOT MOVE THESE.  They are part of the IA-64 Linux ABI and there 
> >>is         * user-level code that depends on their presence!
> >>          */
> >>         unsigned long arg0;             /* signum */
> >>         unsigned long arg1;             /* siginfo pointer */
> >>         unsigned long arg2;             /* sigcontext pointer */
> >>         /*
> >>          * End of architected state.
> >>          */
> >>
> >>Ok to Commit?
> > 
> > 
> > Yes.  Definitely!
> > 
> > Thanks for doing this.
> > 
> > Kevin
> > 
> 
> Patch checked into mainline.  Should patch be checked into gdb 6.0?

It can be if you want it to be.  (6.0 is released, so it's not clear
if there's much value in checking it into the branch...)

Kevin


      reply	other threads:[~2003-10-16  0:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 22:03 J. Johnston
2003-10-15 22:35 ` Kevin Buettner
2003-10-15 22:58   ` J. Johnston
2003-10-16  0:43     ` Kevin Buettner [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=1031016004306.ZM23941@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jjohnstn@redhat.com \
    /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