This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug threads/17067] New: Cannot send a signal to a thread because the thread is running.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]