mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-16 04:18:50 +00:00
2003-11-06 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not REGISTER_CONVENTION.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user