diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-03-30 15:03:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-03-30 15:03:46 +0000 |
commit | 97a1a11c19d8235218e4f6c8818c7cd8e0b98ea6 (patch) | |
tree | 0402f5a3fccef10a64ea94cc379b5d314b5f6be5 /gdb/i386-tdep.c | |
parent | 6c0e89edf99f71dcd9a8979e99388c9286e49edd (diff) | |
download | gdb-97a1a11c19d8235218e4f6c8818c7cd8e0b98ea6.zip gdb-97a1a11c19d8235218e4f6c8818c7cd8e0b98ea6.tar.gz gdb-97a1a11c19d8235218e4f6c8818c7cd8e0b98ea6.tar.bz2 |
* i386-tdep.c (i386_store_struct_return): Removed.
(i386_gdbarch_init): Don't set deprecated_store_struct_return.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index ede206f..f4c0368 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -939,12 +939,6 @@ i386_push_arguments (int nargs, struct value **args, CORE_ADDR sp, return sp; } -static void -i386_store_struct_return (CORE_ADDR addr, CORE_ADDR sp) -{ - /* Do nothing. Everything was already done by i386_push_arguments. */ -} - /* These registers are used for returning integers (and on some targets also for returning `struct' and `union' values when their size and alignment match an integer type). */ @@ -1589,7 +1583,6 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_push_arguments (gdbarch, i386_push_arguments); set_gdbarch_deprecated_push_return_address (gdbarch, i386_push_return_address); set_gdbarch_deprecated_pop_frame (gdbarch, i386_pop_frame); - set_gdbarch_deprecated_store_struct_return (gdbarch, i386_store_struct_return); set_gdbarch_store_return_value (gdbarch, i386_store_return_value); set_gdbarch_extract_struct_value_address (gdbarch, i386_extract_struct_value_address); |