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] [AArch64] Rename boolean arguments in decoding functions


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 (éå)


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