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 | 828d914e3af8782d5879fbd028c1dfa62684a464 (patch) | |
tree | 8ae2a944cce7499a80988bffe025ad27ad4e438f /gdb/stack.c | |
parent | 6993d76e2b957941ee511c16ff9de6f13318cad4 (diff) | |
download | gdb-828d914e3af8782d5879fbd028c1dfa62684a464.tar.gz |
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 9dc7d8598de..723f1e57d0e 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 |