diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-13 13:42:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-13 13:42:33 +0000 |
commit | 97092415597fbfb41f2c028e95b895966d52996f (patch) | |
tree | b53e78f0831b3ea92d27a9852eee8aa60944f4be /gdb/values.c | |
parent | 789cdc3a471ad5452cfeb96226b6d6c95abcc2f8 (diff) | |
download | gdb-97092415597fbfb41f2c028e95b895966d52996f.zip gdb-97092415597fbfb41f2c028e95b895966d52996f.tar.gz gdb-97092415597fbfb41f2c028e95b895966d52996f.tar.bz2 |
Index: ChangeLog
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
(m68hc11_use_struct_convention): Delete function.
(m68hc11_extract_struct_value_address): Delete function.
(m68hc11_return_value): New function.
(m68hc11_gdbarch_init): Instead of store_return_value,
extract_return_value, return_value_on_stack,
deprecated_extract_struct_value_address and use_struct_convention,
set return_value.
* values.c (using_struct_return): Do not call
RETURN_VALUE_ON_STACK.
* arch-utils.h (generic_return_value_on_stack_not): Delete
declaration.
* arch-utils.c (generic_return_value_on_stack_not): Delete
function.
Index: doc/ChangeLog
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
description of RETURN_VALUE_ON_STACK.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/values.c b/gdb/values.c index 5ed10b5..98631af 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -1254,8 +1254,7 @@ using_struct_return (struct type *value_type, int gcc_p) "struct return" vs "register return" conventions. */ if (code == TYPE_CODE_STRUCT || code == TYPE_CODE_UNION - || code == TYPE_CODE_ARRAY - || RETURN_VALUE_ON_STACK (value_type)) + || code == TYPE_CODE_ARRAY) return USE_STRUCT_CONVENTION (gcc_p, value_type); else return 0; |