This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Minor change in sh-tdep.c
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [RFA] Minor change in sh-tdep.c
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Mon, 11 Dec 2000 15:45:27 -0500 (EST)
- Cc: gdb-patches at sources dot redhat dot com, ezannoni at redhat dot com
- References: <200012112043.MAA06241@cleaver.cygnus.com>
Ah, yes, thanks. Check it in.
Elena
Michael Snyder writes:
>
> 2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
>
> * sh-tdep.c (sh_extract_struct_value_address): For consistancy,
> change decl from "CORE_ADDR static" to "static CORE_ADDR".
>
> diff -c -3 -p -r1.18 sh-tdep.c
> *** sh-tdep.c 2000/12/07 16:40:44 1.18
> --- sh-tdep.c 2000/12/11 20:42:07
> *************** sh_init_extra_frame_info (int fromleaf,
> *** 826,833 ****
> /* Extract from an array REGBUF containing the (raw) register state
> the address in which a function should return its structure value,
> as a CORE_ADDR (or an expression that can be used as one). */
> ! CORE_ADDR
> ! static sh_extract_struct_value_address (regbuf)
> char *regbuf;
> {
> return (extract_address ((regbuf), REGISTER_RAW_SIZE (0)));
> --- 826,833 ----
> /* Extract from an array REGBUF containing the (raw) register state
> the address in which a function should return its structure value,
> as a CORE_ADDR (or an expression that can be used as one). */
> ! static CORE_ADDR
> ! sh_extract_struct_value_address (regbuf)
> char *regbuf;
> {
> return (extract_address ((regbuf), REGISTER_RAW_SIZE (0)));