[rfc] [01/09] Get rid of current_gdbarch (s390 SUBOFF)

Markus Deuling deuling@de.ibm.com
Wed Nov 7 06:39:00 GMT 2007


Ulrich Weigand schrieb:
> Markus Deuling wrote:
> 
>>  #ifdef __s390x__
>> -#define SUBOFF(i) \
>> +#define SUBOFF(gdbarch, i) \
>>  	((gdbarch_ptr_bit (current_gdbarch) == 32 \
> 
> Well, I guess you should actually *use* the gdbarch parameter here :-)
> 
> Otherwise, this look good.
> 
> Bye,
> Ulrich
> 

;-) Yes, looks better that way. I committed the corrected patch now. Thank you very much.



-- 
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-s390
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071107/01638dc2/attachment.ksh>


More information about the Gdb-patches mailing list