From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6FAB6385803C; Sat, 28 Nov 2020 12:44:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FAB6385803C From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/26967] New: FAIL: gdb.base/longjmp.exp: next over longjmp(1) Date: Sat, 28 Nov 2020 12:44:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Sat, 28 Nov 2020 12:44:37 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26967 Bug ID: 26967 Summary: FAIL: gdb.base/longjmp.exp: next over longjmp(1) Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- On SLE-11, I ran into: ... FAIL: gdb.base/longjmp.exp: next over longjmp(1) ... In more detail: ... (gdb) next^M 52 longjmp (env, 1);^M (gdb) PASS: gdb.base/longjmp.exp: next to longjmp (1) next^M 56 resumes++;^M (gdb) FAIL: gdb.base/longjmp.exp: next over longjmp(1) ... What is expected: ... (gdb) next^M 52 longjmp (env, 1);^M (gdb) PASS: gdb.base/longjmp.exp: next to longjmp (1) next^M 0x00000000004005cc 49 if (setjmp (env) =3D=3D 0) /* patt1 */^M (gdb) PASS: gdb.base/longjmp.exp: next over longjmp(1) ... I've analyzed this behaviour to be caused by the lack of presence of longjmp probes in libc. On SLE-11, we have glibc-2.11.3, the probes were added in = 2.16 for x86_64. I can reproduce the same behaviour with a current glibc by forcing probe_safe_evaluate_at_pc to return NULL (which makes you wonder whether a = gdb command probes ignore could be useful). --=20 You are receiving this mail because: You are on the CC list for the bug.=