Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Patch for Bug#190277 - Stopping a debugg session causes all user processes to terminate

Here is the suggested implementation with 2 new classes and changes in 3
other classe, all in org.eclipse.cdt.debug.mi.core component.
 
1. The update() method of org.eclipse.cdt.debug.mi.core.MIInferior has
been change to first use "info proc" and only then use "info program" 
 
2. The parseLine() method of
org.eclipse.cdt.debug.mi.core.output.CLIInfoProgramInfo has been changed
to stop parsing if "LWP" is found in the string.
 
3. A new method createCLIInfoProc() has been added in
org.eclipse.cdt.debug.mi.core.command.CommandFactory just prior to
createCLIInfoProgram(). 
 
4. A new class org.eclipse.cdt.debug.mi.core.command.CLIInfoProc has
been added 

5. A new class org.eclipse.cdt.debug.mi.core.output.CLIInfoProcInfo has
been added

This has been tested on Solaris9, Linux (SLED10) and Windows XP.
Please review and comment on this patch and we are hoping to see merged
into CDT in the future.
 
Kind regards,
Piotr Kundu



Back to the top