[lldb-dev] [Bug 14595] New: Expression evaluation of std::string::c_str() fails on Linux.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 13 08:10:13 PST 2012


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

             Bug #: 14595
           Summary: Expression evaluation of std::string::c_str() fails on
                    Linux.
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev at cs.uiuc.edu
        ReportedBy: ashok.thirumurthi at intel.com
    Classification: Unclassified


The following expression evaluation fails on Linux:
(lldb) print str.c_str()

To reproduce, run: python dotest.py -i -v expression_command/call-function

(lldb) log enable lldb expr
The logging facility includes the following output, whereas a non-null remote
address is typical of successful expression evaluation: 
  Code can be run in the target.
  Found function, has local address 0x7fab3bc01008 and remote address 0x0
  Function's code range is [0x0+0x5e]
  Couldn't disassemble function : Couldn't read from process: Input/output
error
  Data buffer contents:

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the lldb-dev mailing list