diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-21 15:08:39 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-21 15:08:39 +0000 |
commit | 214be669de06607c8d0e6f4b11a6fcac04c96175 (patch) | |
tree | 22956a6e541ec802f2299c9a3ea2f5b63befa5f8 /gdb | |
parent | 7c90103bb7c018eec65225f92cc337055d4a783d (diff) | |
download | gdb-214be669de06607c8d0e6f4b11a6fcac04c96175.zip gdb-214be669de06607c8d0e6f4b11a6fcac04c96175.tar.gz gdb-214be669de06607c8d0e6f4b11a6fcac04c96175.tar.bz2 |
* frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/frame.h | 12 |
2 files changed, 4 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b77cc5e..9d5234e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2008-05-21 Ulrich Weigand <uweigand@de.ibm.com> + * frame.h (SIZEOF_FRAME_SAVED_REGS): Remove. + +2008-05-21 Ulrich Weigand <uweigand@de.ibm.com> + * alpha-mdebug-tdep.c: Include "trad-frame.h". (struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to struct trad_frame_saved_reg *. diff --git a/gdb/frame.h b/gdb/frame.h index d8461a2..d2eb5dd 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -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. */ |