mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* i386-tdep.c (i386_store_struct_return): Removed.
(i386_gdbarch_init): Don't set deprecated_store_struct_return.
This commit is contained in:
parent
6c0e89edf9
commit
97a1a11c19
@ -1,3 +1,8 @@
|
|||||||
|
2003-03-30 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* i386-tdep.c (i386_store_struct_return): Removed.
|
||||||
|
(i386_gdbarch_init): Don't set deprecated_store_struct_return.
|
||||||
|
|
||||||
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
2003-03-30 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
|
* gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
|
||||||
|
@ -939,12 +939,6 @@ i386_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
|
|||||||
return 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
|
/* These registers are used for returning integers (and on some
|
||||||
targets also for returning `struct' and `union' values when their
|
targets also for returning `struct' and `union' values when their
|
||||||
size and alignment match an integer type). */
|
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_arguments (gdbarch, i386_push_arguments);
|
||||||
set_gdbarch_deprecated_push_return_address (gdbarch, i386_push_return_address);
|
set_gdbarch_deprecated_push_return_address (gdbarch, i386_push_return_address);
|
||||||
set_gdbarch_deprecated_pop_frame (gdbarch, i386_pop_frame);
|
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_store_return_value (gdbarch, i386_store_return_value);
|
||||||
set_gdbarch_extract_struct_value_address (gdbarch,
|
set_gdbarch_extract_struct_value_address (gdbarch,
|
||||||
i386_extract_struct_value_address);
|
i386_extract_struct_value_address);
|
||||||
|
Loading…
Reference in New Issue
Block a user