From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 18B58384A8B1; Fri, 10 Sep 2021 19:40:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18B58384A8B1 From: "mehmetgelisin at aol dot com" To: gdb-prs@sourceware.org Subject: [Bug fortran/27341] [dwarf-5] FAIL: gdb.fortran/function-calls.exp: p derived_types_and_module_calls::pass_cart_nd(c_nd) Date: Fri, 10 Sep 2021 19:40:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: fortran X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mehmetgelisin at aol dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: 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: Fri, 10 Sep 2021 19:40:50 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27341 Mehmet gelisin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mehmetgelisin at aol dot c= om --- Comment #15 from Mehmet gelisin --- minimal version: ... 1 #include =20 2 3 void http://www.iu-bloomington.com/ 4 function1 (int val) 5 { 6 throw val; 7 } 8 9 void 10 function3 (int val) 11 { https://www.webb-dev.co.uk/ 12 { 13 try 14 { 15 function1 (val); 16 } https://waytowhatsnext.com/ 17 catch (...)=20=20 18 { 19 std::cout << "Caught and handled function1 exception" << std::endl; 20 } http://www.acpirateradio.co.uk/ 21 }=20 22 } 23 24 int 25 main (void) http://www.logoarts.co.uk/ 26 {=20 27 function3 (3); 28 29 return 0; 30 } http://www.slipstone.co.uk/ ... Compiled like: ... http://embermanchester.uk/ $ $ g++ nextoverthrow.cc -g ... Reproduces like so: ... http://connstr.net/ $ gdb -batch ./a.out -ex 'b 27' -ex run -ex next Breakpoint 1 at 0x400ae4: file nextoverthrow.cc, line 27. http://joerg.li/ Breakpoint 1, main () at nextoverthrow.cc:27 27 function3 (3); infrun.c:6384: internal-error: void https://komiya-dental.com/ process_event_stop_test(execution_control_state*): Assertion `ecs->event_thread->control.exception_resume_breakpoint !=3D NULL' failed. ... With -ex "set debug infrun 1", we see: http://www.jopspeech.com/ ... Breakpoint 1, main () at nextoverthrow.cc:27 27 function3 (3); [infrun] infrun_async: enable=3D0 [infrun] clear_proceed_status_thread: process 4142 [infrun] proceed: addr=3D0xffffffffffffffff, signal=3DGDB_SIGNAL_DEFAULT http://www.wearelondonmade.com/ [infrun] start_step_over: step-over queue now empty [infrun] start_step_over: resuming [process 4142] for step-over [infrun] resume_1: step=3D1, signal=3DGDB_SIGNAL_0, trap_expected=3D1, curr= ent thread [process 4142] at 0x400ae4 [infrun] infrun_async: enable=3D1 [infrun] prepare_to_wait: prepare_to_wait=20 [infrun] proceed: [process 4142] resumed http://www.compilatori.com/ [infrun] target_wait (-1.0.0, status) =3D [infrun] 4142.4142.0 [process 4142], [infrun] status->kind =3D stopped, signal =3D GDB_SIGNAL_TRAP [infrun] handle_inferior_event: status->kind =3D stopped, signal =3D GDB_SIGNAL_TRAP [infrun] handle_signal_stop: stop_pc=3D0x400ae9 http://www-look-4.com/ [infrun] process_event_stop_test: stepping inside range [0x400ae4-0x400aee] [infrun] resume_1: step=3D1, signal=3DGDB_SIGNAL_0, trap_expected=3D0, curr= ent thread [process 4142] at 0x400ae9 --=20 You are receiving this mail because: You are on the CC list for the bug.=