diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-01-11 20:47:53 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-01-11 20:47:53 +0000 |
commit | ca9d58e9025120684e1ef66844a42362c146a7db (patch) | |
tree | 157d01527f1d925382f6f0c31951acf78f21278c /gdb/sparc-tdep.c | |
parent | 762c360d8ca7366722c0747ecf861bd25d2cbc3b (diff) | |
download | gdb-ca9d58e9025120684e1ef66844a42362c146a7db.zip gdb-ca9d58e9025120684e1ef66844a42362c146a7db.tar.gz gdb-ca9d58e9025120684e1ef66844a42362c146a7db.tar.bz2 |
* sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
sparc_extract_struct_value_address.
(sparc32_gdbarch_init): Set extract_struct_value_address.
* sparc64-tdep.c (sparc64_extract_struct_value_address): New
function.
(sparc64_init_abi): Set extract_struct_value_address. Don't set
return_value_on_stack.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 26d2c24..e79f038 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -839,7 +839,7 @@ sparc32_return_value (struct gdbarch *gdbarch, struct type *type, CORE_ADDR. */ static CORE_ADDR -sparc_extract_struct_value_address (struct regcache *regcache) +sparc32_extract_struct_value_address (struct regcache *regcache) { ULONGEST sp; @@ -1069,6 +1069,8 @@ sparc32_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_push_dummy_call (gdbarch, sparc32_push_dummy_call); set_gdbarch_return_value (gdbarch, sparc32_return_value); + set_gdbarch_extract_struct_value_address + (gdbarch, sparc32_extract_struct_value_address); set_gdbarch_stabs_argument_has_addr (gdbarch, sparc32_stabs_argument_has_addr); |