From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B7A7F385C32E; Tue, 13 Sep 2022 06:57:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7A7F385C32E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663052232; bh=pETJrr61vswK2j4aspI1/ArxSiYdan3Hd5H6cGU/ORI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vQ3ovLFXA4kuAU5ux2MTbL4j0gMHMBVwqT8cUP16CD4Oa99lEfSemLsvP/9WgrIaQ zmfG7psdNSIpHNKOmKI5b7RmaK/H02GSlWvO2RNMmwx5zezRbEGN0+1V+JMsevMJIh 7AOu5K1+SMBV/BmvVftqgA3K7aNeG8Wt+8dDBn9g= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/27813] FAIL: gdb.linespec/cpcompletion.exp: incomplete-scope-colon: tab complete "b cpls.cc:'ns_incomplete_scope_colon_test::i" (clearing input line) (timeout) Date: Tue, 13 Sep 2022 06:57:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb 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: 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=3D27813 --- Comment #8 from Tom de Vries --- I added this to capture the moment when the SIGINT is caught: ... diff --git a/readline/readline/signals.c b/readline/readline/signals.c index 8fedc370a1a..dffd66ae553 100644 --- a/readline/readline/signals.c +++ b/readline/readline/signals.c @@ -166,6 +166,7 @@ _rl_signal_handler (int sig) static RETSIGTYPE rl_signal_handler (int sig) { + __builtin_abort (); _rl_caught_signal =3D sig; SIGHANDLER_RETURN; } ... Backtrace of corresponding core file: ... (gdb) bt #0 raise (sig=3D6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00000000007606b6 in handle_fatal_signal (sig=3D6) at gdb/event-top.c:971 #2 #3 __GI_raise (sig=3D6) at ../sysdeps/unix/sysv/linux/raise.c:51 #4 0x00007ffa99911375 in __GI_abort () at abort.c:79 #5 0x0000000000ce4336 in rl_signal_handler (sig=3D2) at readline/readline/signals.c:169 #6 #7 0x0000000000ce0f1a in update_line ( old=3D0x3897050 "(gdb) maintenance selftest name_that_does_not_exist",= =20 old_face=3D0x389f060 '0' ,=20 new=3D0x38a7070 "(gdb) maintenance selftest name_that_does_not_exist",= =20 new_face=3D0x38af080 '0' , current_line=3D0, omax=3D3= 2766, nmax=3D32766,=20 inv_botlin=3D0) at readline/readline/display.c:1938 #8 0x0000000000cdfd6b in rl_redisplay () at readline/readline/display.c:1518 #9 0x0000000000cc87dd in _rl_internal_char_cleanup () at readline/readline/readline.c:533 #10 0x0000000000cc8b24 in readline_internal_char () at readline/readline/readline.c:681 #11 0x0000000000ce8c63 in rl_callback_read_char () at readline/readline/callback.c:264 #12 0x000000000075f4a0 in gdb_rl_callback_read_char_wrapper_noexcept () at gdb/event-top.c:188 #13 0x000000000075f527 in gdb_rl_callback_read_char_wrapper (client_data=3D0x3537150) at gdb/event-top.c:205 #14 0x000000000075fc74 in stdin_event_handler (error=3D0, client_data=3D0x3= 537150) at gdb/event-top.c:525 #15 0x00000000013a9b60 in handle_file_event (file_ptr=3D0x37e4490, ready_ma= sk=3D1) at gdbsupport/event-loop.cc:574 #16 0x00000000013aa0e8 in gdb_wait_for_event (block=3D1) at gdbsupport/event-loop.cc:695 #17 0x00000000013a8fbc in gdb_do_one_event (mstimeout=3D-1) at gdbsupport/event-loop.cc:265 #18 0x00000000008a65b3 in start_event_loop () at gdb/main.c:411 #19 0x00000000008a66d3 in captured_command_loop () at gdb/main.c:471 #20 0x00000000008a7eeb in captured_main (data=3D0x7ffff205b580) at gdb/main.c:1330 #21 0x00000000008a7f51 in gdb_main (args=3D0x7ffff205b580) at gdb/main.c:1345 #22 0x000000000041506e in main (argc=3D9, argv=3D0x7ffff205b698) at gdb/gdb.c:32 (gdb)=20 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=