diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-06 19:09:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-06 19:09:46 +0000 |
commit | 9cedbfec956acb99c7b6b82f8637839ebb415d86 (patch) | |
tree | e6afb15932e737077a1b76e239ad2eea03891ec8 /gdb/stack.c | |
parent | 26bb91f3005ca817c833dcfae48f3d830c9749eb (diff) | |
download | fsf-binutils-gdb-9cedbfec956acb99c7b6b82f8637839ebb415d86.zip fsf-binutils-gdb-9cedbfec956acb99c7b6b82f8637839ebb415d86.tar.gz fsf-binutils-gdb-9cedbfec956acb99c7b6b82f8637839ebb415d86.tar.bz2 |
2003-11-06 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
REGISTER_CONVENTION.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
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 |