Expand result with type char* to string in -data-evaluate-expression
authorIlia K <ki.stfu@gmail.com>
Thu, 25 Jun 2015 11:10:12 +0000 (11:10 +0000)
committerIlia K <ki.stfu@gmail.com>
Thu, 25 Jun 2015 11:10:12 +0000 (11:10 +0000)
commit0b9e04b7c481fc26529fac8cd753af1aa0990785
tree9773f5fc49ce06c5239659f1216338424d9a3aef
parent3c499589454d61f7ab0cd2179c8af80543eef24c
Expand result with type char* to string in -data-evaluate-expression

Summary:
Expand result with type char* to string in -data-evaluate-expression.
was:
  ```
    -data-evaluate-expression str
    ^done,value="0x00007fffffffece0"
  ```
now:
  ```
    -data-evaluate-expression str
    ^done,value="0x00007fffffffece0 \"hello\""
  ```

All tests pass on Linux.

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

Reviewers: abidh

Reviewed By: abidh

Subscribers: lldb-commits, dawn, abidh

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

llvm-svn: 240631
lldb/test/tools/lldb-mi/data/TestMiData.py
lldb/test/tools/lldb-mi/variable/TestMiVar.py
lldb/tools/lldb-mi/MICmdCmdData.cpp