Add language option in -gdb-show command (MI)
authorIlia K <ki.stfu@gmail.com>
Tue, 28 Apr 2015 12:51:16 +0000 (12:51 +0000)
committerIlia K <ki.stfu@gmail.com>
Tue, 28 Apr 2015 12:51:16 +0000 (12:51 +0000)
commit7f836242229689fe51cf55f5346196439b8fd2ff
treea8201e12ee20e09dd433d2bb50edebc9d871268f
parent6e46512ec3a7f0b6481346e1148100ab0515943a
Add language option in -gdb-show command (MI)

Summary:
Add language option in -gdb-show command + test:
```
$ bin/lldb-mi ~/p/hello
[...]
b main
[...]
r
[...]
(gdb)
-gdb-show language
^done,value="c++"
(gdb)
quit
```

Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/

Reviewers: abidh, granata.enrico, jingham, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits, jingham, granata.enrico, clayborg, abidh

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

llvm-svn: 235983
lldb/include/lldb/API/SBDefines.h
lldb/include/lldb/API/SBLanguageRuntime.h [new file with mode: 0644]
lldb/scripts/Python/build-swig-Python.sh
lldb/scripts/Python/buildSwigPython.py
lldb/scripts/interface/SBLanguageRuntime.i [new file with mode: 0644]
lldb/scripts/lldb.swig
lldb/source/API/CMakeLists.txt
lldb/source/API/SBLanguageRuntime.cpp [new file with mode: 0644]
lldb/test/tools/lldb-mi/TestMiGdbSetShow.py
lldb/tools/lldb-mi/MICmdCmdGdbShow.cpp
lldb/tools/lldb-mi/MICmdCmdGdbShow.h