This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/17067] New: Cannot send a signal to a thread because the thread is running.
- From: "hi-angel at yandex dot ru" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 18 Jun 2014 16:09:19 +0000
- Subject: [Bug threads/17067] New: Cannot send a signal to a thread because the thread is running.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17067
Bug ID: 17067
Summary: Cannot send a signal to a thread because the thread is
running.
Product: gdb
Version: 7.6
Status: NEW
Severity: normal
Priority: P2
Component: threads
Assignee: unassigned at sourceware dot org
Reporter: hi-angel at yandex dot ru
I m trying to send a signal to a thread in order to break the one. But I get an
error. Below is how it looks like:
(gdb) thread apply 4 signal SIGTSTP
Thread 4 (Thread 0x7ffff5fd4700 (LWP 5826)):
Cannot execute this command while the selected thread is running.
It is surely should be possible http://linux.die.net/man/3/pthread_kill
Also I should mention that this is very needed feature, because it is the only
way to pause a particular thread -- for unknown reasons the gdb doesn't support
any other path.
--
You are receiving this mail because:
You are on the CC list for the bug.