From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGlMl-0006wt-2r for qemu-devel@nongnu.org; Thu, 10 May 2018 09:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGlMh-000825-Tt for qemu-devel@nongnu.org; Thu, 10 May 2018 09:12:15 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:36628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGlMh-00081t-NP for qemu-devel@nongnu.org; Thu, 10 May 2018 09:12:11 -0400 Received: by mail-wr0-x244.google.com with SMTP id p4-v6so1985812wrh.3 for ; Thu, 10 May 2018 06:12:11 -0700 (PDT) References: <1524153386-3550-1-git-send-email-abdallah.bouassida@lauterbach.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1524153386-3550-1-git-send-email-abdallah.bouassida@lauterbach.com> Date: Thu, 10 May 2018 14:12:09 +0100 Message-ID: <87lgcrvemu.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v6 0/3] target/arm: Add a dynamic XML-description of the cp-registers to GDB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Abdallah Bouassida Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, qemu-arm@nongnu.org, khaled.jmal@lauterbach.com Abdallah Bouassida writes: > The previous version: > http://patchwork.ozlabs.org/project/qemu-devel/list/?series=3D33714 > > Abdallah Bouassida (3): > target/arm: Add "ARM_CP_NO_GDB" as a new bit field for ARMCPRegInfo > type > target/arm: Add "_S" suffix to the secure version of a sysreg > target/arm: Add the XML dynamic generation > So I got a fixed up gdb and I was testing the reading of the virtual counter: =3D> 0xffffff800854a118 : mrs x0, cntvct_el0 0xffffff800854a11c : b 0xffffff800854a148 0xffffff800854a120 : adrp x0, 0xffffff800896= a000 0xffffff800854a124 : add x0, x0, #0x5a0 0xffffff800854a128 : mrs x1= , tpidr_el1 p/x $x0 $6 =3D 0xffffff800854a108 p/x $cntvct_el0 $7 =3D 0x0 stepi 0xffffff800854a11c 160 return arch_timer_reg_read_stable(cntvct_el0); =3D> 0xffffff800854a11c : b 0xffffff800854a148 = 0xffffff800854a120 : adrp x0, 0xffffff800896= a000 0xffffff800854a124 : add x0, x0, #0x5a0 p/x $x0 $8 =3D 0x7a5b32b p/x $cntvct_el0 $9 =3D 0x0 So I'm wondering why there is a disparity here? -- Alex Benn=C3=A9e