]> Git Repo - binutils.git/commitdiff
* frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
authorUlrich Weigand <[email protected]>
Wed, 21 May 2008 15:08:39 +0000 (15:08 +0000)
committerUlrich Weigand <[email protected]>
Wed, 21 May 2008 15:08:39 +0000 (15:08 +0000)
gdb/ChangeLog
gdb/frame.h

index b77cc5e18e62bbbda5a0f28c7efd3d779987ed4c..9d5234e098054a56879d7343813ae3ea9adf0f2a 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-21  Ulrich Weigand  <[email protected]>
+
+       * frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
+
 2008-05-21  Ulrich Weigand  <[email protected]>
 
        * alpha-mdebug-tdep.c: Include "trad-frame.h".
index d8461a2e40d21b58b5a6255d029773a4b73c20e7..d2eb5dd52f9f203719f12b70895576b7292906d6 100644 (file)
@@ -579,18 +579,6 @@ enum print_what
     LOC_AND_ADDRESS 
   };
 
-/* Allocate additional space for appendices to a struct frame_info.
-   NOTE: Much of GDB's code works on the assumption that the allocated
-   saved_regs[] array is the size specified below.  If you try to make
-   that array smaller, GDB will happily walk off its end.  */
-
-#ifdef SIZEOF_FRAME_SAVED_REGS
-#error "SIZEOF_FRAME_SAVED_REGS can not be re-defined"
-#endif
-#define SIZEOF_FRAME_SAVED_REGS \
-        (sizeof (CORE_ADDR) * (gdbarch_num_regs (current_gdbarch)\
-                              + gdbarch_num_pseudo_regs (current_gdbarch)))
-
 /* Allocate zero initialized memory from the frame cache obstack.
    Appendices to the frame info (such as the unwind cache) should
    allocate memory using this method.  */
This page took 0.034341 seconds and 4 git commands to generate.