Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: Don't assume gpr 0 is register number zero
Date: Tue, 20 Apr 2004 21:16:00 -0000	[thread overview]
Message-ID: <vt2y8oquzep.fsf@zenia.home> (raw)
In-Reply-To: <vt2fzbpeyp4.fsf@zenia.home>


Ping?

Jim Blandy <jimb@redhat.com> writes:

> 2004-03-31  James Blandy  <jimb@redhat.com>
> 
> 	* ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
> 	register number zero.
> 
> Index: gdb/ppc-linux-nat.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
> retrieving revision 1.29
> diff -c -r1.29 ppc-linux-nat.c
> *** gdb/ppc-linux-nat.c	15 Mar 2004 21:35:25 -0000	1.29
> --- gdb/ppc-linux-nat.c	31 Mar 2004 15:23:24 -0000
> ***************
> *** 133,139 ****
>   
>     /* General purpose registers occupy 1 slot each in the buffer */
>     if (regno >= tdep->ppc_gp0_regnum && regno <= tdep->ppc_gplast_regnum )
> !     u_addr =  ((PT_R0 + regno) * wordsize);
>   
>     /* Floating point regs: eight bytes each in both 32- and 64-bit
>        ptrace interfaces.  Thus, two slots each in 32-bit interface, one
> --- 133,139 ----
>   
>     /* General purpose registers occupy 1 slot each in the buffer */
>     if (regno >= tdep->ppc_gp0_regnum && regno <= tdep->ppc_gplast_regnum )
> !     u_addr = ((regno - tdep->ppc_gp0_regnum + PT_R0) * wordsize);
>   
>     /* Floating point regs: eight bytes each in both 32- and 64-bit
>        ptrace interfaces.  Thus, two slots each in 32-bit interface, one


  reply	other threads:[~2004-04-20 21:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31 21:12 Jim Blandy
2004-04-20 21:16 ` Jim Blandy [this message]
2004-04-20 22:25 ` Kevin Buettner
2004-04-22  8:37   ` Jim Blandy

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=vt2y8oquzep.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@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