Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
[deliverable/binutils-gdb.git] / gdb / config / arc / tm-arc.h
index 90949e369218cac1495bdb9305e9995206d5ef8d..52ed0910437662b5fb57ab5e61db3555e433d018 100644 (file)
@@ -1,5 +1,5 @@
 /* Parameters for target machine ARC, for GDB, the GNU debugger.
 /* Parameters for target machine ARC, for GDB, the GNU debugger.
-   Copyright (C) 1995 Free Software Foundation, Inc.
+   Copyright 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
    This file is part of GDB.
    Contributed by Cygnus Support.
 
    This file is part of GDB.
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include "regcache.h"
+
 /* Used by arc-tdep.c to set the default cpu type.  */
 #define DEFAULT_ARC_CPU_TYPE "base"
 
 /* Used by arc-tdep.c to set the default cpu type.  */
 #define DEFAULT_ARC_CPU_TYPE "base"
 
-/* Byte order is selectable.  */
-#define        TARGET_BYTE_ORDER_SELECTABLE
-
 /* We have IEEE floating point, if we have any float at all.  */
 /* We have IEEE floating point, if we have any float at all.  */
-#define IEEE_FLOAT
+#define IEEE_FLOAT (1)
 
 /* Offset from address of function to start of its code.
    Zero on most machines.  */
 
 /* Offset from address of function to start of its code.
    Zero on most machines.  */
@@ -40,7 +39,7 @@
 
 #define SKIP_PROLOGUE(pc) (arc_skip_prologue (pc, 0))
 #define SKIP_PROLOGUE_FRAMELESS_P(pc) (arc_skip_prologue (pc, 1))
 
 #define SKIP_PROLOGUE(pc) (arc_skip_prologue (pc, 0))
 #define SKIP_PROLOGUE_FRAMELESS_P(pc) (arc_skip_prologue (pc, 1))
-extern CORE_ADDR arc_skip_prologue PARAMS ((CORE_ADDR, int));
+extern CORE_ADDR arc_skip_prologue (CORE_ADDR, int);
 
 /* Sequence of bytes for breakpoint instruction.
    ??? The current value is "sr -1,[-1]" and is for the simulator only.
 
 /* Sequence of bytes for breakpoint instruction.
    ??? The current value is "sr -1,[-1]" and is for the simulator only.
@@ -61,8 +60,8 @@ extern CORE_ADDR arc_skip_prologue PARAMS ((CORE_ADDR, int));
 
 /* We don't have a reliable single step facility.
    ??? We do have a cycle single step facility, but that won't work.  */
 
 /* We don't have a reliable single step facility.
    ??? We do have a cycle single step facility, but that won't work.  */
-#define SOFTWARE_SINGLE_STEP_P 1
-extern void arc_software_single_step PARAMS ((unsigned int, int));
+#define SOFTWARE_SINGLE_STEP_P() 1
+extern void arc_software_single_step (enum target_signal, int);
 #define SOFTWARE_SINGLE_STEP(sig,bp_p) arc_software_single_step (sig, bp_p)
 
 /* FIXME: Need to set STEP_SKIPS_DELAY.  */
 #define SOFTWARE_SINGLE_STEP(sig,bp_p) arc_software_single_step (sig, bp_p)
 
 /* FIXME: Need to set STEP_SKIPS_DELAY.  */
@@ -277,7 +276,7 @@ extern void arc_software_single_step PARAMS ((unsigned int, int));
 
 #define FRAME_SAVED_PC(frame) (arc_frame_saved_pc (frame))
 struct frame_info;             /* in case frame.h not included yet */
 
 #define FRAME_SAVED_PC(frame) (arc_frame_saved_pc (frame))
 struct frame_info;             /* in case frame.h not included yet */
-CORE_ADDR arc_frame_saved_pc PARAMS ((struct frame_info *));
+CORE_ADDR arc_frame_saved_pc (struct frame_info *);
 
 /* If the argument is on the stack, it will be here.
    We cache this value in the frame info if we've already looked it up.  */
 
 /* If the argument is on the stack, it will be here.
    We cache this value in the frame info if we've already looked it up.  */
@@ -309,12 +308,14 @@ extern void frame_find_saved_regs ();     /* See arc-tdep.c */
 \f
 
 /* Things needed for making calls to functions in the inferior process */
 \f
 
 /* Things needed for making calls to functions in the inferior process */
+void arc_push_dummy_frame (void);
 #define PUSH_DUMMY_FRAME \
 #define PUSH_DUMMY_FRAME \
-       push_dummy_frame ()
+       arc_push_dummy_frame ()
 
 /* Discard from the stack the innermost frame, restoring all registers.  */
 
 /* Discard from the stack the innermost frame, restoring all registers.  */
+void arc_pop_frame (void);
 #define POP_FRAME \
 #define POP_FRAME \
-       pop_frame ()
+       arc_pop_frame ()
 
 /* This sequence of words is the instructions  bl xxxx, flag 1 */
 #define CALL_DUMMY { 0x28000000, 0x1fbe8001 }
 
 /* This sequence of words is the instructions  bl xxxx, flag 1 */
 #define CALL_DUMMY { 0x28000000, 0x1fbe8001 }
This page took 0.024448 seconds and 4 git commands to generate.