Skip to main content

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

Thanks, attaching the patch to the bugzilla was sufficient. :)

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com

> -----Original Message-----
> From: cdt-debug-dev-bounces@xxxxxxxxxxx [mailto:cdt-debug-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Piotr Kundu
> Sent: Friday, August 24, 2007 12:28 PM
> To: cdt-patch@xxxxxxxxxxx; cdt-debug-dev@xxxxxxxxxxx
> Cc: Sven Lundblad
> Subject: [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
> 
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev


Back to the top