Make lldb-mi handle only MI commands
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>
Wed, 18 Mar 2015 10:07:46 +0000 (10:07 +0000)
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>
Wed, 18 Mar 2015 10:07:46 +0000 (10:07 +0000)
commit4a7baeab14a9f991752879bdc85ad4bf684cdf46
tree39edcaaeec0f8c052b762bbfb928aa4a1c80178c
parent61984d39d57245db68a5b08d76e268617cf9e43c
Make lldb-mi handle only MI commands

Summary:
Previously lldb-mi can also act as a driver like normal lldb. It needed a lot
of redundant code in the lldb-mi for that. I think that if a user wants command
line lldb driver then he/she should use the lldb for it. This change will cleanup
the code a lot. When this change goes in, it will allow us to remove some more
redundant code too.

All tests pass on Linux. Did some sanity testing on command line and with eclipse.

Reviewers: ki.stfu

Reviewed By: ki.stfu

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D8381

llvm-svn: 232621
lldb/tools/lldb-mi/MICmnConfig.h
lldb/tools/lldb-mi/MICmnResources.cpp
lldb/tools/lldb-mi/MIDriver.cpp
lldb/tools/lldb-mi/MIDriverMain.cpp
lldb/tools/lldb-mi/MIDriverMgr.cpp
lldb/tools/lldb-mi/MIReadMe.txt