This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12850] `interrupt' command can hang
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 6 Jun 2011 20:57:17 +0000
- Subject: [Bug gdb/12850] `interrupt' command can hang
- Auto-submitted: auto-generated
- References: <bug-12850-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12850
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-06-06 20:57:16 UTC ---
set target-async on
set non-stop on
set pagination off
file sleep
run 1h &
shell sleep 1s
interrupt
During `interrupt' the process is already stopped, no new waitpid event gets
reported, GDB hangs indefinitely.
ptrace(PTRACE_CONT, 27365, 0x1, SIG_0) = 0
--- {si_signo=SIGCHLD, si_code=CLD_TRAPPED, si_pid=27365, si_status=SIGTRAP,
si_utime=0, si_stime=0} (Child exited) ---
wait4(-1, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGTRAP}], 0, NULL) = 27365
tkill(27365, SIG_0) = 0
tkill(27365, SIGSTOP) = 0
wait4(27365, <unfinished ...>
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.