Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Debugger changes

Hi,
 
In order to fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=119683 and to support more flexible launch configurations I submitted changes that include an extension of the "ICDIDebugger" interface.
The changes shouldn't affect the implementations based on the old API, but debugger implementers are encouraged to use the "ICDIDebugger2" interface.
Three old launch configuration delagates (CoreFileLaunchDelegate, LocalAttachLaunchDelegate, LocalRunLaunchDelegate) are still available, but the new LocalCDILaunchDelegate class is used for all launch configuration types provided by CDT.
 
The following changes are made to the gdb/mi plugins and may affect some implementations.
 
1. The new static "createSession" method is added to MIPlugin. It starts a gdb session without issuing commands to gdb. For more information see the javadocs. The corresponding constructor is added to MISession. The old createCSesion methods are marked as deprecated.
 
2. The AbstractGDBCDIDebugger class provides basic implementation needed to implement gdb/mi based debuggers. The standard debugger implementations (gdb, Cygwin gdb and gdbserver) that extend this class are added.
 
Except for https://bugs.eclipse.org/bugs/show_bug.cgi?id=119683 these are also initial steps to allow the custom command factories contributions.
 
As I have already mentioned, the old implementations shouldn't be affected. Please, contact me ASAP if you encounter problems. 
 
Thank you,
Mikhail Khodjaiants

Back to the top