This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Allow struct 'return' on 32-bit sparc.


From: "Ulrich Weigand" <uweigand@de.ibm.com>
Date: Fri, 8 Feb 2013 19:16:39 +0100 (CET)

> David Miller wrote:
> 
>> @@ -2327,6 +2328,7 @@ return_command (char *retval_exp, int from_tty)
>>        if (thisfun != NULL)
>>  	function = read_var_value (thisfun, thisframe);
>>  
>> +      rv_conv = RETURN_VALUE_REGISTER_CONVENTION;
>>        if (TYPE_CODE (return_type) == TYPE_CODE_VOID)
>>  	/* If the return-type is "void", don't try to find the
>>             return-value's location.  However, do still evaluate the
> 
> Maybe just move this up to the definition?

Yes, that's a good idea, I'll commit such a fix.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]