aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.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/arch-utils.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/arch-utils.c')
-rw-r--r--gdb/arch-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 9048bd7..49924cb 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -97,6 +97,12 @@ generic_frameless_function_invocation_not (struct frame_info *fi)
return 0;
}
+int
+generic_return_value_on_stack_not (struct type *type)
+{
+ return 0;
+}
+
char *
legacy_register_name (int i)
{