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: [email protected]
        ReportedBy: [email protected]
    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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to