aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-04-21 17:54:50 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-04-21 17:54:50 +0000
commit65585be4ba50233f681efd81e16046dd58042c28 (patch)
tree50c4182f4a2793b9d09f11cbee090b29608cd337 /gdb/alpha-tdep.c
parentd9b023ccd41c119362f440ab9dabc61613beb577 (diff)
downloadgdb-65585be4ba50233f681efd81e16046dd58042c28.zip
gdb-65585be4ba50233f681efd81e16046dd58042c28.tar.gz
gdb-65585be4ba50233f681efd81e16046dd58042c28.tar.bz2
* alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double
to standard_coerce_float_to_double. * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index dfefa46..b2454a4 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -2058,6 +2058,10 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_inner_than (gdbarch, core_addr_lessthan);
+ /* Floats are always passed as doubles. */
+ set_gdbarch_coerce_float_to_double (gdbarch,
+ standard_coerce_float_to_double);
+
set_gdbarch_decr_pc_after_break (gdbarch, 4);
set_gdbarch_frame_args_skip (gdbarch, 0);