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:
Andrew Cagney 2003-11-06 19:09:46 +00:00
parent 26bb91f300
commit 9cedbfec95
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-11-06 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
REGISTER_CONVENTION.
2003-11-06 Daniel Jacobowitz <drow@mvista.com>
* breakpoint.c (insert_bp_location, allocate_bp_location): Make

View file

@ -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