diff options
author | Jim Blandy <jimb@codesourcery.com> | 2000-04-19 23:22:14 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2000-04-19 23:22:14 +0000 |
commit | 676c5f2e4dcfd0048ecbf5bda79ac407f834ac18 (patch) | |
tree | e90653b6467fd9582a514720d5ed0a692ad4b04f /gdb/values.c | |
parent | c3d6b60b406f2e95b99132e46a5436485e37673d (diff) | |
download | gdb-676c5f2e4dcfd0048ecbf5bda79ac407f834ac18.tar.gz |
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.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/values.c b/gdb/values.c index 6186b34524b..67fe2ad52ae 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 |