[Bug 21757] New: -var-list-children should support quotes

Bug ID 21757
Summary -var-list-children should support quotes
Product lldb
Version unspecified
Hardware All
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter nikolay.koldunov@oracle.com
Classification Unclassified

There is no support for quotes and therefore I'm unable to examine a string
instance:

51-var-create - @ customerName --thread 1 --frame 0
51^done,name="var5",numchild="1",value="{...}",type="std::__1::string",thread-id="1",has_more="0"

54-var-list-children --all-values var5
54^done,numchild="1",children=[child={name="var5.__r_",exp="__r_",numchild="1",type="std::__1::__compressed_pair<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__rep,
std::__1::allocator<char> >",thread-id="1",has_more="0"}]

56-var-list-children --all-values var5.__r_
56^done,numchild="1",children=[child={name="var5.__r_.std::__1::__libcpp_compressed_pair_imp<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__rep,
std::__1::allocator<char>,
2>",exp="std::__1::__libcpp_compressed_pair_imp<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__rep,
std::__1::allocator<char>,
2>",numchild="1",type="std::__1::__libcpp_compressed_pair_imp<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__rep,
std::__1::allocator<char>, 2>",thread-id="1",has_more="0"}]

58-var-list-children --all-values
var5.__r_.std::__1::__libcpp_compressed_pair_imp<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >::__rep,
std::__1::allocator<char>, 2>
58^error,msg="Command 'var-list-children'. Variable
'var5.__r_.std::__1::__libcpp_compressed_pair_imp<std::__1::basic_string<char,'
does not exist"