Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: "David S. Miller" <davem@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [RFA] Locate sparc64 arguments correctly
Date: Tue, 23 Apr 2002 16:09:00 -0000	[thread overview]
Message-ID: <1020423230940.ZM10851@localhost.localdomain> (raw)
In-Reply-To: "David S. Miller" <davem@redhat.com> "[RFA] Locate sparc64 arguments correctly" (Apr 20,  2:09am)

On Apr 20,  2:09am, David S. Miller wrote:

> 1) Debugging information encodes LOC_ARG/LOC_REF_ARG offsets
>    with the Sparc64 stack bias included, we keep track of the
>    frame pointer with the stack bias removed on sparc64.
> 
>    sparc64_frame_args_address takes care of that.

I agree that this is the problem, but, when you do this...

> +/* Debugging information stores LOC_ARG/LOC_REF_ARG offsets with the
> +   sparc64 stack bias present, this undoes that so that users of
> +   FRAME_ARGS_ADDRESS use the right location.  */
> +
> +static CORE_ADDR
> +sparc64_frame_args_address (struct frame_info *fi)
> +{
> +  return fi->frame - 2047;
> +}

...does the output from ``info frame'' still look reasonable?


  parent reply	other threads:[~2002-04-23 23:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-20  2:17 David S. Miller
2002-04-23 12:53 ` Michael Snyder
2002-04-23 21:57   ` David S. Miller
2002-04-23 16:09 ` Kevin Buettner [this message]
2002-04-24  8:33   ` David S. Miller
2002-04-24  9:42     ` Kevin Buettner
2002-04-24  9:53       ` David S. Miller

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=1020423230940.ZM10851@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=davem@redhat.com \
    --cc=gdb-patches@sources.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