diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-04-29 16:06:07 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-04-29 16:06:07 +0000 |
commit | ea42b34a37453fb7cf3a4ac7a5a6d0d456623fd9 (patch) | |
tree | 10fe8c5556df19395b5fdebfa134f6e953fea93e /gdb/sparc-tdep.c | |
parent | 266b05cf7629d7cefecd2b31542a2332e3d5e385 (diff) | |
download | gdb-ea42b34a37453fb7cf3a4ac7a5a6d0d456623fd9.zip gdb-ea42b34a37453fb7cf3a4ac7a5a6d0d456623fd9.tar.gz gdb-ea42b34a37453fb7cf3a4ac7a5a6d0d456623fd9.tar.bz2 |
* gdbarch.sh: Document the return_value method. Explain that
the FUNCTYPE parameter might be NULL.
* gdbarch.h: Regenerated.
* sparc-tdep.c (sparc32_push_dummy_code): Do not pass the function
type when calling using_struct_return, as this is unnecessary
on this target.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 0140c0f..20f67bc 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -388,8 +388,7 @@ sparc32_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp, *bp_addr = sp - 4; *real_pc = funcaddr; - if (using_struct_return (SYMBOL_TYPE (find_pc_function (funcaddr)), - value_type)) + if (using_struct_return (NULL, value_type)) { gdb_byte buf[4]; |