From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C1AD3858D37; Fri, 28 Apr 2023 07:41:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C1AD3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682667688; bh=MkauRvsYQi4yYxxqONAUGCCyLoHBzPRdOgMhXIds/BE=; h=From:To:Subject:Date:From; b=eiY1J4uJ9aLNF0N/XRFWLAY8edKN6kWZw2FRmXUEajkY15EE17FrDdJAVFfUy6+Qi HFNpM7sfG3CeHmohKGb3BL2gtrmfH/0AQ5HQCwAP797diyP+Y3wLjkQno6HAFJEpcS TtFGbqx8coWhdXkw+ahFYX2RDImtVEoLQ5xurPUg= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30399] New: [gdb/testsuite] FAIL: gdb.ada/excep_handle.exp: continuing to first Constraint_Error exception handlers Date: Fri, 28 Apr 2023 07:41:27 +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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30399 Bug ID: 30399 Summary: [gdb/testsuite] FAIL: gdb.ada/excep_handle.exp: continuing to first Constraint_Error exception handlers 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: --- For a testsuite run with a build without tui and ncurses and system readlin= e, I run into: ... FAIL: gdb.ada/excep_handle.exp: continuing to first Constraint_Error except= ion handlers FAIL: gdb.ada/excep_handle.exp: continuing and stopping in Storage_Error exception handlers FAIL: gdb.ada/excep_handle.exp: continuing without stopping to Program_Error exception handlers FAIL: gdb.ada/excep_handle.exp: continuing without stopping to Storage_Error exception handlers FAIL: gdb.ada/excep_handle.exp: continuing to second Constraint_Error excep= tion handlers FAIL: gdb.ada/excep_handle.exp: continuing to Program_Error exception handl= ers ... First fail in more detail: ... (gdb) PASS: gdb.ada/excep_handle.exp: insert catchpoint on all Ada exceptio= ns handlers continue^M Continuing.^M ^M Catchpoint 2, exception at 0x00000000004020b6 in foo () at /data/vries/gdb/binutils-gdb.git/gdb/testsuite/gdb.ada/exc\ ep_handle/foo.adb:26^M 26 when Constraint_Error =3D>^M (gdb) FAIL: gdb.ada/excep_handle.exp: continuing to first Constraint_Error exception handlers ... Fixed by: ... diff --git a/gdb/testsuite/gdb.ada/excep_handle.exp b/gdb/testsuite/gdb.ada/excep_handle.exp index f8a6ded2cdf..300fefc8291 100644 --- a/gdb/testsuite/gdb.ada/excep_handle.exp +++ b/gdb/testsuite/gdb.ada/excep_handle.exp @@ -69,7 +69,7 @@ gdb_test_multiple "catch handlers" $msg { # Continue. The program should stop at first exception handling. gdb_test "continue" \ - "Continuing\.$eol$catchpoint_constraint_error_msg$eol.*" \ + "Continuing\.$eol$catchpoint_constraint_error_msg" \ "continuing to first Constraint_Error exception handlers" # Resume the program's exception. ... I'll do some other builds to see whether this has to do with one of the disabled aspects. --=20 You are receiving this mail because: You are on the CC list for the bug.=