This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [AArch64] Fix incorrect mask when decoding b.cond instruction
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pierre Langlois <pierre dot langlois at arm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 19 Aug 2015 09:32:30 +0100
- Subject: Re: [PATCH] [AArch64] Fix incorrect mask when decoding b.cond instruction
- Authentication-results: sourceware.org; auth=none
- References: <1439818121-11050-1-git-send-email-pierre dot langlois at arm dot com>
Pierre Langlois <pierre.langlois@arm.com> writes:
> The encoding of the b.cond instruction is described in the architecture
> reference manual as:
>
> b.cond 0101 0100 iiii iiii iiii iiii iii0 cccc
>
> So the mask should be 0xff000010.
>
> Thanks,
> Pierre
>
> gdb/ChangeLog:
>
> * aarch64-tdep.c (decode_bcond): Fix incorrect mask.
Patch looks right to me.
--
Yao (éå)