From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8F41D3858C83; Wed, 12 Apr 2023 20:59:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F41D3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681333150; bh=+zVor4YMS1OEigBs6rmS6xr87rbUj1PeHpQ4fSvc4gc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RWvwN1rVF9WyudilknWu6yjeydMfxMAM/w2r87Kf+m61yAoKPltZs4/JGufKRZlIG nH/wBOQNZkJU4HZl9lJNGIT2uCvLucyIHbtCUuwB1mnXKFGik3vtF/E0tMHr1tSrC3 3nVOboozafDlmqmvT4Jdh+juWiZkUR8qchF0Quzk= From: "ahajkova at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug tdep/29423] [gdb, tdep/aarch64] FAIL: gdb.base/watchpoint-unaligned.exp: continue (timeout) Date: Wed, 12 Apr 2023 20:59:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ahajkova at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29423 --- Comment #22 from Alexandra H=C3=A1jkov=C3=A1 --- (In reply to Luis Machado from comment #18) > Thanks! >=20 > That gives me a good indication of what's going wrong. >=20 > Looks like these blocks in > gdb/nat/aarch64-linux-hw-point.c:aarch64_linux_get_debug_reg_capacity are > failing: >=20 > if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_HW_WATCH, &iov) =3D=3D 0 > && compatible_debug_arch (AARCH64_DEBUG_ARCH (dreg_state.dbg_info))) >=20 > and >=20 > if (ptrace (PTRACE_GETREGSET, tid, NT_ARM_HW_BREAK, &iov) =3D=3D 0 > && compatible_debug_arch (AARCH64_DEBUG_ARCH (dreg_state.dbg_info))) >=20 > I suppose ptrace wouldn't fail, so I'm guessing compatible_debug_arch mig= ht > be the culprit, since it checks a hardcoded number of variations of > AARCH64_DEBUG_ARCH_V8*, and we may be returning false if the > AARCH64_DEBUG_ARCH is outside of the expected range. >=20 > We might need a new bug for this. I've field a bug report and included the fix for the TCL error: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30340 --=20 You are receiving this mail because: You are on the CC list for the bug.=