aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2000-04-19 23:22:14 +0000
committerJim Blandy <jimb@codesourcery.com>2000-04-19 23:22:14 +0000
commit71a9f22e4fbaa70f4a21337781899bab7ba39199 (patch)
tree5f92fb043b6dfb151d93730634e891ce669bb55a /gdb/values.c
parentceef0e305434894e6bc68cd55b48658a85df5d37 (diff)
downloadgdb-71a9f22e4fbaa70f4a21337781899bab7ba39199.zip
gdb-71a9f22e4fbaa70f4a21337781899bab7ba39199.tar.gz
gdb-71a9f22e4fbaa70f4a21337781899bab7ba39199.tar.bz2
Bring RETURN_VALUE_ON_STACK under gdbarch's control.
* gdbarch.sh (RETURN_VALUE_ON_STACK): New entry. * gdbarch.c, gdbarch.h: Regenerated. * arch-utils.c (default_return_value_on_stack): New function. * arch-utils.h (default_return_value_on_stack): New declaration. * values.c (RETURN_VALUE_ON_STACK): Delete default definition.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 6186b34..67fe2ad 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -1561,13 +1561,6 @@ generic_use_struct_convention (gcc_p, value_type)
#define USE_STRUCT_CONVENTION(gcc_p,type) generic_use_struct_convention (gcc_p, type)
#endif
-/* Some fundamental types (such as long double) are returned on the stack for
- certain architectures. This macro should return true for any type besides
- struct, union or array that gets returned on the stack. */
-
-#ifndef RETURN_VALUE_ON_STACK
-#define RETURN_VALUE_ON_STACK(TYPE) 0
-#endif
/* Return true if the function specified is using the structure returning
convention on this machine to return arguments, or 0 if it is using