2004-09-02 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / config / rs6000 / tm-rs6000.h
index c73658922bd61e7a1d6fcf4ab2888ab8091253ba..8afd2cadc94c83e1939b84dbe305f038e5580e43 100644 (file)
@@ -1,7 +1,8 @@
 /* Parameters for target execution on an RS6000, for GDB, the GNU debugger.
-   Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-   1998, 1999, 2000
-   Free Software Foundation, Inc.
+
+   Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
+   1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+
    Contributed by IBM Corporation.
 
    This file is part of GDB.
@@ -23,8 +24,6 @@
 
 struct frame_info;
 
-#define GDB_MULTI_ARCH 1
-
 /* Minimum possible text address in AIX */
 
 #define TEXT_SEGMENT_BASE      0x10000000
@@ -42,11 +41,6 @@ extern int rs6000_in_solib_return_trampoline (CORE_ADDR, char *);
 #define        SKIP_TRAMPOLINE_CODE(pc)        rs6000_skip_trampoline_code (pc)
 extern CORE_ADDR rs6000_skip_trampoline_code (CORE_ADDR);
 
-/* Number of trap signals we need to skip over, once the inferior process
-   starts running. */
-
-#define        START_INFERIOR_TRAPS_EXPECTED   2
-
 /* AIX has a couple of strange returns from wait().  */
 
 #define CHILD_SPECIAL_WAITSTATUS(ourstatus, hoststatus) ( \
@@ -75,29 +69,11 @@ extern void aix_process_linenos (void);
    to be actual register numbers as far as the user is concerned
    but do serve to get the desired values when passed to read_register.  */
 
+/* Don't use this in code specific to the RS6000 and its descendants;
+   use tdep->ppc_fp0_regnum instead.  FP0_REGNUM will be deprecated
+   soon, but we still need to define it here for the uses in
+   architecture-independent code.  */
 #define FP0_REGNUM 32          /* Floating point register 0 */
-#define FPLAST_REGNUM 63       /* Last floating point register */
-
-/* Define other aspects of the stack frame.  */
-
-#define DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev) \
-  (fromleaf ? DEPRECATED_SAVED_PC_AFTER_CALL (prev->next) : \
-             prev->next ? DEPRECATED_FRAME_SAVED_PC (prev->next) : read_pc ())
-/* NOTE: cagney/2002-12-08: Add local declaration of
-   init_frame_pc_noop() because it isn't possible to include
-   "arch-utils.h" here.  Not too bad as this entire file is going away
-   anyway.  */
-extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
-#define DEPRECATED_INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev))
-
-/* Flag for machine-specific stuff in shared files.  FIXME */
-#define IBM6000_TARGET
-
-/* RS6000/AIX does not support PT_STEP.  Has to be simulated.  */
-
-#define SOFTWARE_SINGLE_STEP_P() 1
-extern void rs6000_software_single_step (enum target_signal, int);
-#define SOFTWARE_SINGLE_STEP(sig,bp_p) rs6000_software_single_step (sig, bp_p)
 
 /* Notice when a new child process is started. */
 
This page took 0.024932 seconds and 4 git commands to generate.