From: Mark Kettenis Date: Thu, 6 Feb 2003 23:20:52 +0000 (+0000) Subject: * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a28ccea641df91e2acccb8e92386490b31439f2;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d44ee992902..6ec49eafb89 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-02-07 Mark Kettenis + + * 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 * 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 a47ef171878..c6dc085b4a5 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. */