This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] Minor change in sh-tdep.c
- To: gdb-patches at sources dot redhat dot com
- Subject: [RFA] Minor change in sh-tdep.c
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Mon, 11 Dec 2000 12:43:07 -0800 (PST)
- Cc: ezannoni at redhat dot com
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)));