Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>, Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] Add e500 function call support to PPC
Date: Mon, 17 Mar 2003 17:45:00 -0000	[thread overview]
Message-ID: <1030317174542.ZM18778@localhost.localdomain> (raw)
In-Reply-To: Andrew Cagney <ac131313@redhat.com> "Re: [rfa] Add e500 function call support to PPC" (Mar 17, 11:59am)

On Mar 17, 11:59am, Andrew Cagney wrote:

> How about the attached?
>
> 2003-03-17  Andrew Cagney  <cagney@redhat.com>
> 
> 	* rs6000-tdep.c (ppc_floating_point_unit_p): New function.
> 	* ppc-tdep.h (ppc_floating_point_unit_p): Declare.
> 
> 	From Elena Zannoni  <ezannoni@redhat.com>
> 	* ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
> 	vector and floating-point parameters.
> 	(ppc_sysv_abi_use_struct_convention): Handle e500 struct return
> 	convention.
> 	(ppc_sysv_abi_broken_use_struct_convention): Ditto.
> 
> Index: ppc-sysv-tdep.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/ppc-sysv-tdep.c,v
> retrieving revision 1.3
> diff -u -r1.3 ppc-sysv-tdep.c
> --- ppc-sysv-tdep.c	14 Nov 2002 20:37:28 -0000	1.3
> +++ ppc-sysv-tdep.c	17 Mar 2003 16:43:36 -0000
> @@ -61,11 +61,12 @@
>    int structstkspace;
>    int argoffset;
>    int structoffset;
> -  struct value *arg;
>    struct type *type;
>    int len;
>    char old_sp_buf[4];
>    CORE_ADDR saved_sp;
> +  struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
> +  const struct bfd_arch_info *arch_info = gdbarch_bfd_arch_info (current_gdbarch);

Now that you've introduced ppc_floating_point_unit_p(), I don't
think that arch_info is needed any longer.

Otherwise, okay.

Kevin


  reply	other threads:[~2003-03-17 17:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-08 19:11 Andrew Cagney
2003-03-09  1:00 ` Kevin Buettner
2003-03-10 15:11   ` Andrew Cagney
2003-03-10 17:54     ` Kevin Buettner
2003-03-10 19:56       ` Andrew Cagney
2003-03-10 21:47         ` Kevin Buettner
2003-03-17 16:59           ` Andrew Cagney
2003-03-17 17:45             ` Kevin Buettner [this message]
2003-03-17 18:28               ` 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=1030317174542.ZM18778@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@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