aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/x86-64-tdep.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d44ee99..6ec49ea 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-07 Mark Kettenis <kettenis@gnu.org>
+
+ * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
+ legacy_extract_return_value and store_return_value to
+ legacy_return_value.
+
2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
* win32-nat.c (get_relocated_section_addrs): New function. Find
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index a47ef17..c6dc085 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -980,7 +980,7 @@ x86_64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_read_fp (gdbarch, cfi_read_fp);
/* FIXME: kettenis/20021026: Should be undeprecated. */
- set_gdbarch_extract_return_value (gdbarch, NULL);
+ set_gdbarch_extract_return_value (gdbarch, legacy_extract_return_value);
set_gdbarch_deprecated_extract_return_value (gdbarch,
x86_64_extract_return_value);
set_gdbarch_push_arguments (gdbarch, x86_64_push_arguments);
@@ -988,7 +988,7 @@ x86_64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_pop_frame (gdbarch, x86_64_pop_frame);
set_gdbarch_store_struct_return (gdbarch, x86_64_store_struct_return);
/* FIXME: kettenis/20021026: Should be undeprecated. */
- set_gdbarch_store_return_value (gdbarch, NULL);
+ set_gdbarch_store_return_value (gdbarch, legacy_store_return_value);
set_gdbarch_deprecated_store_return_value (gdbarch,
x86_64_store_return_value);
/* Override, since this is handled by x86_64_extract_return_value. */