Name change (It's hitacho micro systems, not hitachi data systems)
[deliverable/binutils-gdb.git] / gdb / tm-i960.h
index 5ddf8c2b9acd8d5775989d2404b4927741b166f3..7dba1dec15d6e75ee6204e75e3893ad1d1f6c3d3 100644 (file)
@@ -3,19 +3,19 @@
    Contributed by Intel Corporation.
 This file is part of GDB.
 
-GDB is free software; you can redistribute it and/or modify
+This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
-any later version.
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
 
-GDB is distributed in the hope that it will be useful,
+This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with GDB; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Definitions to target GDB to any i960.  */
 
@@ -175,10 +175,10 @@ extern CORE_ADDR saved_pc_after_call ();
 
 #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,FROM,TO)     \
 { \
-  extern struct ext_format ext_format_i960[];          \
+  extern struct ext_format ext_format_i960;            \
   \
   if ((REGNUM) >= FP0_REGNUM)   \
-    ieee_extended_to_double (ext_format_i960, (FROM), (TO));     \
+    ieee_extended_to_double (&ext_format_i960, (FROM), (double *)(TO));     \
   else                                  \
     bcopy ((FROM), (TO), 4);   \
 }
@@ -188,10 +188,10 @@ extern CORE_ADDR saved_pc_after_call ();
 
 #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
 { \
-  extern struct ext_format ext_format_i960[];          \
+  extern struct ext_format ext_format_i960;            \
   \
   if ((REGNUM) >= FP0_REGNUM)   \
-    double_to_ieee_extended (ext_format_i960, (FROM), (TO));     \
+    double_to_ieee_extended (&ext_format_i960, (double *)(FROM), (TO));     \
   else                                  \
     bcopy ((FROM), (TO), 4);   \
 }
@@ -264,12 +264,8 @@ extern CORE_ADDR saved_pc_after_call ();
 /* FRAME_CHAIN takes a frame's nominal address
    and produces the frame's chain-pointer.
 
-   FRAME_CHAIN_COMBINE takes the chain pointer and the frame's nominal address
-   and produces the nominal address of the caller frame.
-
    However, if FRAME_CHAIN_VALID returns zero,
-   it means the given frame is the outermost one and has no caller.
-   In that case, FRAME_CHAIN_COMBINE is not used.  */
+   it means the given frame is the outermost one and has no caller.  */
 
 /* We cache information about saved registers in the frame structure,
    to save us from having to re-scan function prologues every time
@@ -285,7 +281,8 @@ extern CORE_ADDR saved_pc_after_call ();
    Set the arg_pointer to -1, which is not valid; 0 and other values
    indicate real, cached values.  */
 
-#define INIT_EXTRA_FRAME_INFO(fi) ((fi)->fsr = 0, (fi)->arg_pointer = -1)
+#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \
+       ((fi)->fsr = 0, (fi)->arg_pointer = -1)
 
 /* On the i960, we get the chain pointer by reading the PFP saved
    on the stack and clearing the status bits.  */
@@ -293,10 +290,8 @@ extern CORE_ADDR saved_pc_after_call ();
 #define FRAME_CHAIN(thisframe) \
   (read_memory_integer (FRAME_FP(thisframe), 4) & ~0xf)
 
-#define FRAME_CHAIN_COMBINE(chain, thisframe) (chain)
-
 /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one
-   and has no caller.  In that case, FRAME_CHAIN_COMBINE is not used.
+   and has no caller.
 
    On the i960, each various target system type must define FRAME_CHAIN_VALID,
    since it differs between NINDY and VxWorks, the two currently supported
This page took 0.025342 seconds and 4 git commands to generate.