[lldb-dev] [Bug 17499] New: The "frame variable" command does not parse std::vector or std::list with gcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 7 11:33:18 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17499

            Bug ID: 17499
           Summary: The "frame variable" command does not parse
                    std::vector or std::list with gcc
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: ashok.thirumurthi at intel.com
    Classification: Unclassified

Created attachment 11342
  --> http://llvm.org/bugs/attachment.cgi?id=11342&action=edit
Log of dotest.py -C gcc -A x86_64 for *StdVector.py

This regression was introduced by "r191996 - <rdar://problem/12042982>" and
reproduced by the Linux buildbot with gcc 4.6.2 and separately confirmed on
Ubuntu 12.04 with gcc 4.6.3.
  http://llvm.org/viewvc/llvm-project?revision=191996&view=revision

For instance, with the attached test log, the expected output is:

runCmd: frame variable strings
output: (string_vect) strings = size=3 {
    [0] = "goofy"
    [1] = "is"
    [2] = "smart"
}

The actual result is:

runCmd: frame variable strings
output: (string_vect) strings = size=3 {
    [0] = (_M_dataplus = std::basic_string<char, std::char_traits<char>,
std::allocator<char, char>, char, std::char_traits<char>, std::allocator<char,
char> >::_Alloc_hider @ 0x00000000016d2110)
    [1] = (_M_dataplus = std::basic_string<char, std::char_traits<char>,
std::allocator<char, char>, char, std::char_traits<char>, std::allocator<char,
char> >::_Alloc_hider @ 0x00000000016d2118)
    [2] = (_M_dataplus = std::basic_string<char, std::char_traits<char>,
std::allocator<char, char>, char, std::char_traits<char>, std::allocator<char,
char> >::_Alloc_hider @ 0x00000000016d2120) }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131007/5855e2fd/attachment.html>


More information about the lldb-dev mailing list