This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFA] Minor change in sh-tdep.c



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)));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]