Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343449 - The state of the process in the debug view is not consistent with the state of the Resume and Suspend buttons when I debug multiple processes in GDB.
Summary: The state of the process in the debug view is not consistent with the state o...
Status: CLOSED DUPLICATE of bug 337897
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Marc Khouzam CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 14:40 EDT by Dobrin Alexiev CLA
Modified: 2011-04-20 15:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dobrin Alexiev CLA 2011-04-20 14:40:56 EDT
Build Identifier: The latest DSF-GDB as of April 15, 2011

Ubuntu – gdb 7.2 
Create a program test that does fork() and then goes to infinite look. 
Debug the program. 
Make sure the debugger is NOT in non-stop mode. 
Resume the program so the fork() command is executed. 
Suspend the program. 
From the debug view’s “connect to  a process” green button attach to the seconds instance of the test program. 
	The program will appear in the debug view as suspended. 
Select a thread from the second program. 
Resume the second program. 
	The second program becomes running. That’s OK. 
Select a thread from the first program which appears suspended. 
See how the Run and Suspend but didn’t update. 

I was expecting the state of the first program in the debug view ( the pause decoration) to be consistent with the state of the Resume and Suspend buttons. 


Reproducible: Always

Steps to Reproduce:
see details.
Comment 1 Marc Khouzam CLA 2011-04-20 14:54:12 EDT
Could this be a duplicate of Bug 337897?

Further, I believe now that we will not be able to support multi-process with all-stop at all.  I just posted a question to the gdb mailing list to confirm:
http://sourceware.org/ml/gdb/2011-04/msg00123.html
Comment 2 Dobrin Alexiev CLA 2011-04-20 15:11:43 EDT
> Could this be a duplicate of Bug 337897?
I think so too.
Comment 3 Marc Khouzam CLA 2011-04-20 15:15:01 EDT

*** This bug has been marked as a duplicate of bug 337897 ***