From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D08D539FB803; Fri, 5 Feb 2021 16:47:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D08D539FB803 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/27330] nextoverthrow.exp FAILs on arm-none-eabi Date: Fri, 05 Feb 2021 16:47:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 10.2 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 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: Fri, 05 Feb 2021 16:47:22 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27330 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D7c6944ab9bc4= fd6e641c59f7c78ca4e1ec78fe7e commit 7c6944ab9bc4fd6e641c59f7c78ca4e1ec78fe7e Author: Tom de Vries Date: Fri Feb 5 17:47:07 2021 +0100 [gdb/breakpoints] Handle glibc with debuginfo in create_exception_master_breakpoint The test-case nextoverthrow.exp is failing on targets with unstripped l= ibc. This is a regression since commit 1940319c0ef "[gdb] Fix internal-error= in process_event_stop_test". The problem is that this code in create_exception_master_breakpoint: ... for (objfile *sepdebug =3D obj->separate_debug_objfile; sepdebug !=3D nullptr; sepdebug =3D sepdebug->separate_debug_objfile) if (create_exception_master_breakpoint_hook (sepdebug)) ... iterates over all the separate debug object files, but fails to handle = the case that obj itself has the debug info we're looking for. Fix this by using the separate_debug_objfiles () range instead, which d= oes iterate both over obj and the obj->separate_debug_objfile chain. Tested on x86_64-linux. gdb/ChangeLog: 2021-02-05 Tom de Vries PR breakpoints/27330 * breakpoint.c (create_exception_master_breakpoint): Handle case that glibc object file has debug info. --=20 You are receiving this mail because: You are on the CC list for the bug.=