Hi,
With this feature, clients can replace
the standard gdb/mi command set by the command sets for various gdb
modifications. A good example is gdb for MacOS with it's modified mi protocol.
The CLI commands like "info shared libraries" may vary for different OS's and
instead of trying to cover all known versions in one implementation
we will use different command factories.
In order to make the transition smoother, the new
debugger type ("gdb/mi") is implemented. This implementation will
eventually replace the current "gdb debugger" and "CygWin gdb debugger" types.
The debugger's page of the launch configuration
dialog contains the list of available command factories. Two command factory
extensions are implemented to support "standard" (MinGW) and
"CygWin" debugging for Windows as well as the standard command factory
for Linux. I hope, others will follow.
Some minor refactoring was
required that may affect other implementations. As a result, the old
implementation of the CygWin command factory and the related classes are moved
to the new
packages (org.eclipse.cdt.debug.mi.core.command.factories.*).
Comments and suggestions will be
appreciated.
Mikhail Khodjaiants
QNX Software Systems
|