diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-13 00:06:54 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-13 00:06:54 +0000 |
commit | c187492465e6fd60ebf2f4710944fa7b6a679a02 (patch) | |
tree | eec7dd560967a03c06b750d01305d552254d35f6 /gdb/stack.c | |
parent | 4c8b6ae009ad0e664cb1ec681e58c4a942fa4915 (diff) | |
download | gdb-c187492465e6fd60ebf2f4710944fa7b6a679a02.zip gdb-c187492465e6fd60ebf2f4710944fa7b6a679a02.tar.gz gdb-c187492465e6fd60ebf2f4710944fa7b6a679a02.tar.bz2 |
* gdbarch.sh (deprecated_use_struct_convention): Remove.
(extract_return_value, store_return_value): Remove.
(return_value): Remove default implementation.
* gdbarch.c, gdbarch.h: Regenerate.
* stack.c (return_command): Remove compatibility hack.
* arch-utils.c (legacy_return_value): Remove.
* arch-utils.h (legacy_return_value): Likewise.
* arch-utils.c (always_use_struct_convention): Remove.
* arch-utils.h (always_use_struct_convention): Likewise.
* value.c (generic_use_struct_convention): Remove.
* defs.h (generic_use_struct_convention): Likewise.
doc/ChangeLog:
* gdbint.texi (Target Conditionals): Remove documentation
of and references to DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS,
gdbarch_extract_return_value, and gdbarch_store_return_value.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 448135c..d311df3 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1789,22 +1789,6 @@ return_command (char *retval_exp, int from_tty) is discarded, side effects such as "return i++" still occur. */ return_value = NULL; - /* FIXME: cagney/2004-01-17: If the architecture implements both - return_value and extract_returned_value_address, should allow - "return" to work - don't set return_value to NULL. */ - else if (!gdbarch_return_value_p (current_gdbarch) - && (TYPE_CODE (return_type) == TYPE_CODE_STRUCT - || TYPE_CODE (return_type) == TYPE_CODE_UNION)) - { - /* NOTE: cagney/2003-10-20: Compatibility hack for legacy - code. Old architectures don't expect gdbarch_store_return_value - to be called with with a small struct that needs to be - stored in registers. Don't start doing it now. */ - query_prefix = "\ -A structure or union return type is not supported by this architecture.\n\ -If you continue, the return value that you specified will be ignored.\n"; - return_value = NULL; - } else if (using_struct_return (return_type)) { query_prefix = "\ |