Cleanups. Zap unused macros.
authorAndrew Cagney <cagney@redhat.com>
Thu, 4 May 2000 11:10:22 +0000 (11:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 4 May 2000 11:10:22 +0000 (11:10 +0000)
gdb/ChangeLog
gdb/config/mips/tm-irix5.h
gdb/config/mips/tm-mips.h
gdb/config/mips/tm-mipsv4.h

index 840cfcc120cff8721a89414ede4fb9b845cdbab9..a9096a369d818fb3b928327140fe841bc638b5ce 100644 (file)
@@ -1,3 +1,9 @@
+Thu May  4 20:54:00 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/mips/tm-mipsv4.h (Dest_Reg), config/mips/tm-irix5.h
+       (MIPS_NUM_ARG_REGS, Dest_Reg), config/mips/tm-mips.h
+       (MIPS_NUM_ARG_REGS): Delete unused macros.
+
 2000-05-01  Mark Kettenis  <kettenis@gnu.org>
 
        * infrun.c (handle_inferior_event): When doing a "next", and
index 7f828c3aa9710e9f8d27e54758d574d481d48cda..aac3136d4963121f41d1c57dc80fcbf3497c0406 100644 (file)
 #undef  MIPS_LAST_ARG_REGNUM
 #define MIPS_LAST_ARG_REGNUM 11        /* N32 uses R4 through R11 for args */
 
-#undef  MIPS_NUM_ARG_REGS
-#define MIPS_NUM_ARG_REGS 8
-
 #endif /* N32 */
 
-/* When calling functions on Irix 5 (or any MIPS SVR4 ABI compliant
-   platform) $25 must hold the function address.  Dest_Reg is a macro
-   used in CALL_DUMMY in tm-mips.h.  */
-#undef Dest_Reg
-#define Dest_Reg 25
 
 /* The signal handler trampoline is called _sigtramp.  */
 #undef IN_SIGTRAMP
index 2f52fbe9815d2571576538374635e99c2165663f..e04638c903c528fbaa974b039344df8fd7bf61d0 100644 (file)
@@ -185,10 +185,8 @@ extern char *mips_register_name PARAMS ((int regnr));
 #define A0_REGNUM 4            /* Loc of first arg during a subr call */
 #if MIPS_EABI
 #define MIPS_LAST_ARG_REGNUM 11        /* EABI uses R4 through R11 for args */
-#define MIPS_NUM_ARG_REGS 8
 #else
 #define MIPS_LAST_ARG_REGNUM 7 /* old ABI uses R4 through R7 for args */
-#define MIPS_NUM_ARG_REGS 4
 #endif
 #define T9_REGNUM 25           /* Contains address of callee in PIC */
 #define SP_REGNUM 29           /* Contains address of top of stack */
@@ -430,8 +428,10 @@ extern void mips_pop_frame PARAMS ((void));
 
 #define CALL_DUMMY_BREAKPOINT_OFFSET (0)
 
-/* On Irix, $t9 ($25) contains the address of the callee (used for PIC).
-   It doesn't hurt to do this on other systems; $t9 will be ignored.  */
+/* When calling functions on Irix 5 (or any MIPS SVR4 ABI compliant
+   platform), $t9 ($25) (Dest_Reg) contains the address of the callee
+   (used for PIC).  It doesn't hurt to do this on other systems; $t9
+   will be ignored.  */
 #define FIX_CALL_DUMMY(dummyname, start_sp, fun, nargs, args, rettype, gcc_p) \
     write_register(T9_REGNUM, fun)
 
index 03fa499d2e7047b3f697866088169cde7de8c7f8..82b7918f14a70229253209d6dfeea388a48799c7 100644 (file)
 #include "mips/tm-bigmips.h"
 #include "tm-sysv4.h"
 
-/* When calling functions on a MIPS SVR4 ABI compliant platform
-   $25 must hold the function address.  Dest_Reg is a macro
-   used in CALL_DUMMY in tm-mips.h.  */
-#undef Dest_Reg
-#define Dest_Reg 25
-
 /* The signal handler trampoline is called _sigtramp.  */
 #undef IN_SIGTRAMP
 #define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name))
This page took 0.034382 seconds and 4 git commands to generate.