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 gdb/16591] New: Feature: Be able to Freeze or Thaw individual threads


http://sourceware.org/bugzilla/show_bug.cgi?id=16591

            Bug ID: 16591
           Summary: Feature: Be able to Freeze or Thaw individual threads
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: raheel.hameed at gmail dot com

There should be a command to Freeze a particular thread from execution i.e. the
thread would suspend execution.

Similarly, there should be a command to Thaw a frozen thread so it would resume
the execution.

This feature can be very useful to induce race conditions during multithreads
debugging.

The thread information list (info threads command) should display a single byte
column that would tell if the thread is currently frozen.

As an FYI, in Windows world Visual Studio supports this useful feature. It can
be used by Right clicking on a thread in Threads window and choose Freeze or
Thaw option.

-- 
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]