From: Ulrich Weigand Date: Wed, 6 Jun 2007 15:29:35 +0000 (+0000) Subject: 2007-06-06 Markus Deuling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39e8369ecf71b71951014d346c4f33589cf3fb39;p=binutils-gdb.git 2007-06-06 Markus Deuling * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by gdbarch_frame_red_zone_size. * gdbarch.c, gdbarch.h: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f45089d74cc..6743fda3c48 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-06-06 Markus Deuling + + * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by + gdbarch_frame_red_zone_size. + * gdbarch.c, gdbarch.h: Regenerate. + 2007-06-06 Markus Deuling * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 94eeae71f05..8c6bc5bfd2a 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -1040,11 +1040,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) fprintf_unfiltered (file, "gdbarch_dump: frame_num_args = <0x%lx>\n", (long) current_gdbarch->frame_num_args); -#ifdef FRAME_RED_ZONE_SIZE - fprintf_unfiltered (file, - "gdbarch_dump: FRAME_RED_ZONE_SIZE # %s\n", - XSTRING (FRAME_RED_ZONE_SIZE)); -#endif fprintf_unfiltered (file, "gdbarch_dump: frame_red_zone_size = %s\n", paddr_d (current_gdbarch->frame_red_zone_size)); diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 6771c0ad8ac..467230fdf0d 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -926,12 +926,6 @@ extern void set_gdbarch_stabs_argument_has_addr (struct gdbarch *gdbarch, gdbarc extern int gdbarch_frame_red_zone_size (struct gdbarch *gdbarch); extern void set_gdbarch_frame_red_zone_size (struct gdbarch *gdbarch, int frame_red_zone_size); -#if !defined (GDB_TM_FILE) && defined (FRAME_RED_ZONE_SIZE) -#error "Non multi-arch definition of FRAME_RED_ZONE_SIZE" -#endif -#if !defined (FRAME_RED_ZONE_SIZE) -#define FRAME_RED_ZONE_SIZE (gdbarch_frame_red_zone_size (current_gdbarch)) -#endif typedef CORE_ADDR (gdbarch_convert_from_func_ptr_addr_ftype) (struct gdbarch *gdbarch, CORE_ADDR addr, struct target_ops *targ); extern CORE_ADDR gdbarch_convert_from_func_ptr_addr (struct gdbarch *gdbarch, CORE_ADDR addr, struct target_ops *targ); diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index b147f5402b0..761edb5bc97 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -584,7 +584,7 @@ M::CORE_ADDR:frame_align:CORE_ADDR address:address # stabs_argument_has_addr. F:=:int:deprecated_reg_struct_has_addr:int gcc_p, struct type *type:gcc_p, type m::int:stabs_argument_has_addr:struct type *type:type::default_stabs_argument_has_addr::0 -v:=:int:frame_red_zone_size +v::int:frame_red_zone_size # m::CORE_ADDR:convert_from_func_ptr_addr:CORE_ADDR addr, struct target_ops *targ:addr, targ::convert_from_func_ptr_addr_identity::0 # On some machines there are bits in addresses which are not really