2014-05-16 18:51:01 +08:00
|
|
|
========================================================================
|
2015-02-06 01:25:01 +08:00
|
|
|
The MI Driver - LLDB Machine Interface V2 (MI) Project Overview
|
2014-05-16 18:51:01 +08:00
|
|
|
========================================================================
|
|
|
|
|
2014-08-09 00:47:42 +08:00
|
|
|
The MI Driver is a stand alone executable that either be used via a
|
|
|
|
client i.e. Eclipse or directly from the command line.
|
|
|
|
|
|
|
|
For help information on using the MI driver type at the command line:
|
|
|
|
|
|
|
|
lldb-mi --interpreter --help
|
2014-05-16 18:51:01 +08:00
|
|
|
|
2015-03-17 22:12:03 +08:00
|
|
|
A blog about the MI Driver is available on CodePlay's website. ALthough it may not be
|
|
|
|
completely accurate after the recent changes in lldb-mi.
|
|
|
|
http://www.codeplay.com/portal/lldb-mi-driver---part-1-introduction
|
2014-05-16 18:51:01 +08:00
|
|
|
|
2015-03-17 22:12:03 +08:00
|
|
|
In MI mode and invoked with --log option, lldb-mi generates lldb-mi-log.txt
|
|
|
|
This file keeps a history of the MI Driver's activity for one session. It is
|
|
|
|
used to aid the debugging of the MI Driver. It also gives warnings about
|
|
|
|
command's which do not support certain argument or options.
|
2014-08-09 00:47:42 +08:00
|
|
|
|
|
|
|
Note any command or text sent to the MI Driver in MI mode that is not a command
|
2015-03-17 22:12:03 +08:00
|
|
|
registered in the MI Driver's Command Factory will be rejected and an error messsage
|
|
|
|
will be generated.
|
2014-06-25 00:35:50 +08:00
|
|
|
|
2014-05-16 18:51:01 +08:00
|
|
|
All the files prefix with MI are specifically for the MI driver code only.
|
2015-03-18 18:07:46 +08:00
|
|
|
File MIDriverMain.cpp contains the executables main() function.
|
2014-05-16 18:51:01 +08:00
|
|
|
|
2014-08-09 00:47:42 +08:00
|
|
|
=========================================================================
|
|
|
|
Current limitations:
|
2015-03-17 22:12:03 +08:00
|
|
|
1. Not all commands and their options have been implemented. Please see
|
|
|
|
the source code for details.
|
|
|
|
2. LLDB-MI may have additinal arguments not used in GDB MI. Please see
|
|
|
|
MIExtesnsions.txt
|
2014-05-16 18:51:01 +08:00
|
|
|
|
|
|
|
=========================================================================
|
2014-06-25 00:35:50 +08:00
|
|
|
The MI Driver build configuration:
|
2015-03-17 22:12:03 +08:00
|
|
|
MICmnConfig.h defines various preprocessor build options.
|