diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-02-06 23:20:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-02-06 23:20:52 +0000 |
commit | 2a28ccea641df91e2acccb8e92386490b31439f2 (patch) | |
tree | 5cc0cfd32b6976f44e95c309678307ef99ad8ed0 /gdb/x86-64-tdep.c | |
parent | 84f97cb6412ffb7a3e6cc1fda4be14196f9c66ac (diff) | |
download | gdb-2a28ccea641df91e2acccb8e92386490b31439f2.zip gdb-2a28ccea641df91e2acccb8e92386490b31439f2.tar.gz gdb-2a28ccea641df91e2acccb8e92386490b31439f2.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r-- | gdb/x86-64-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |