aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 9dc7d85..723f1e5 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -1861,7 +1861,7 @@ return_command (char *retval_exp, int from_tty)
{
if (gdbarch_return_value (current_gdbarch, return_type,
NULL, NULL, NULL)
- == RETURN_VALUE_REGISTER_CONVENTION)
+ == RETURN_VALUE_STRUCT_CONVENTION)
return_value = NULL;
}
else