public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16591] New: Feature: Be able to Freeze or Thaw individual threads
@ 2014-02-15  0:00 raheel.hameed at gmail dot com
  2014-02-15  0:01 ` [Bug gdb/16591] " raheel.hameed at gmail dot com
  2022-04-08  1:51 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: raheel.hameed at gmail dot com @ 2014-02-15  0:00 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/16591] Feature: Be able to Freeze or Thaw individual threads
  2014-02-15  0:00 [Bug gdb/16591] New: Feature: Be able to Freeze or Thaw individual threads raheel.hameed at gmail dot com
@ 2014-02-15  0:01 ` raheel.hameed at gmail dot com
  2022-04-08  1:51 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: raheel.hameed at gmail dot com @ 2014-02-15  0:01 UTC (permalink / raw)
  To: gdb-prs

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

Raheel Hameed <raheel.hameed at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raheel.hameed at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/16591] Feature: Be able to Freeze or Thaw individual threads
  2014-02-15  0:00 [Bug gdb/16591] New: Feature: Be able to Freeze or Thaw individual threads raheel.hameed at gmail dot com
  2014-02-15  0:01 ` [Bug gdb/16591] " raheel.hameed at gmail dot com
@ 2022-04-08  1:51 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2022-04-08  1:51 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tromey at sourceware dot org
         Resolution|---                         |FIXED

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
You can do this in non-stop mode.  It's maybe not as convenient
but you can stop all the threads and then restart just the
ones you like.
I'm going to mark this as fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-08  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-15  0:00 [Bug gdb/16591] New: Feature: Be able to Freeze or Thaw individual threads raheel.hameed at gmail dot com
2014-02-15  0:01 ` [Bug gdb/16591] " raheel.hameed at gmail dot com
2022-04-08  1:51 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).