aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:29:35 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:29:35 +0000
commit39e8369ecf71b71951014d346c4f33589cf3fb39 (patch)
tree8f63732a3b2a8e9f09e11fef9a6f78982c76bec0 /gdb
parent4d1e7dd175a53ab96cccf4539cef4576af758ddc (diff)
downloadgdb-39e8369ecf71b71951014d346c4f33589cf3fb39.zip
gdb-39e8369ecf71b71951014d346c4f33589cf3fb39.tar.gz
gdb-39e8369ecf71b71951014d346c4f33589cf3fb39.tar.bz2
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by gdbarch_frame_red_zone_size. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbarch.c5
-rw-r--r--gdb/gdbarch.h6
-rwxr-xr-xgdb/gdbarch.sh2
4 files changed, 7 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f45089d..6743fda 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2007-06-06 Markus Deuling <deuling@de.ibm.com>
+ * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
+ gdbarch_frame_red_zone_size.
+ * gdbarch.c, gdbarch.h: Regenerate.
+
+2007-06-06 Markus Deuling <deuling@de.ibm.com>
+
* gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
* infcall.c (call_function_by_hand): Likewise.
* gcore.c (derive_stack_segment): Likewise.
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 94eeae7..8c6bc5b 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 6771c0a..467230f 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 b147f54..761edb5 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