From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6F98395BC6A; Wed, 16 Nov 2022 18:35:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6F98395BC6A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668623755; bh=QVy+GRjxuiW9EnbTHUnebKmpt6OZHZQJIPK9o26gvUk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gDfICAcIHmnfa62iYUqT4TwJpFPG1i9hA/nnD0gEkDpxkEpseWxeobrTAUbzT0ZD5 Kun5ic9qIwPCBaxyC4QA5fm1AJMJW4Vlzqc7A4K4ZhusU078iKeI+FA00LgBE1hvdA U9R+lT4WzHiKgRq2oPHUDtDg/sEHo+ql6E4i69kw= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29793] [gdb/tdep, powerpc] FAIL: gdb.cp/gdb2495.exp: call a function that raises an exception without a handler. Date: Wed, 16 Nov 2022 18:35:55 +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: 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: 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=3D29793 --- Comment #3 from Tom de Vries --- This fixes the test-case: ... diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 490708938ec..95a141d2933 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3574,6 +3574,8 @@ create_std_terminate_master_breakpoint (void) } addr =3D bp_objfile_data->terminate_msym.value_address (); + addr =3D gdbarch_skip_prologue_noexcept (objfile->arch (), addr); +=20=20=20=20=20=20=20=20=20 b =3D create_internal_breakpoint (objfile->arch (), addr, bp_std_terminate_master); b->locspec =3D new_explicit_location_spec_function (func_name); ... and gets us a master breakpoint at: ... -10 std::terminate master keep n 0x00007ffff7d79e74 inf 1 -10.1 y- 0x00007ffff7d79e74 inf 1 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=