[PATCH] [AArch64] Rename boolean arguments in decoding functions

Yao Qi qiyaoltc@gmail.com
Thu Jul 30 11:24:00 GMT 2015


Pierre Langlois <pierre.langlois@arm.com> writes:

> 	* aarch64-tdep.c (decode_b): Rename link argument to is_bl.
> 	Change its type to int *.
> 	(decode_br): Rename link argument to is_blr.  Change its type to
> 	int *.
> 	(decode_cb): Rename op argument to is_cbnz.  Change its type to
> 	int *.
> 	(decode_tb): Rename op argument to is_tbnz.  Change its type to
> 	int *.  Set is_tbnz to either 1 or 0.
> 	(aarch64_analyze_prologue): Change type of is_link to int.  Add
> 	new variables is_cbnz and is_tbnz.  Adjust call to
> 	aarch64_decode_cb and aarch64_decode_tb.

Patch looks good to me.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list