From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4C3B33858C52; Tue, 26 Jul 2022 08:51:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C3B33858C52 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29409] [gdb, tdep/aarch64] FAIL: gdb.opt/inline-small-func.exp: info breakpoints Date: Tue, 26 Jul 2022 08:51:01 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org 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: cc 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2022 08:51:01 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29409 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aburgess at redhat dot com, | |luis.machado at arm dot com --- Comment #1 from Tom de Vries --- We have these different reliability tests: i386 / amd64: ... if (post_prologue_pc && (cust !=3D NULL && cust->producer () !=3D NULL && (producer_is_llvm (cust->producer ()) || producer_is_icc_ge_19 (cust->producer ())))) return std::max (start_pc, post_prologue_pc); ... arm: ... if (post_prologue_pc && (cust =3D=3D NULL || cust->producer () =3D=3D NULL || startswith (cust->producer (), "GNU ") || producer_is_llvm (cust->producer ()))) return post_prologue_pc; ... I wonder if it's a good idea to do this in target-dependent code. That is,= do these guarantees by the compilers work only for specific targets? Perhaps it's a better to move these tests to common code, and let targets specify exceptions on it. Note btw that with arm cust =3D=3D nullptr and cust->producer () =3D=3D nul= lptr are reasons to trust the skip_prologue_using_sal result, in contrast with i386 / amd64. --=20 You are receiving this mail because: You are on the CC list for the bug.=