[lldb-dev] [Bug 18832] New: Two watchpoint set expression tests fail on FreeBSD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 13 19:47:00 PST 2014


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

            Bug ID: 18832
           Summary: Two watchpoint set expression tests fail on FreeBSD
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: jlw at xinuos.com
    Classification: Unclassified

Submitting this PR for two watchpoint expression tests that will fail once
FreeBSD watchpoint support is enabled.  These tests currently have an
@expectedFailureFreeBSD('llvm.org/pr16706') decorator.

The watchpoint set expression commands being tested work when input directly.
The failures occur only when run via python self.expect().   

==========================================================================
python dotest.py --executable ~/GIT.d/llvm-0212.wrk/build/bin/lldb -v -t -p 
TestWatchpointSetErrorCases.py

    . . . .

runCmd: watchpoint set expression -w write --
check of return status not required
runCmd failed!
error: expression evaluation of address to watch failed
expression evaluated: -w write --


Expecting start string: error:
Matched

runCmd: watchpoint set expression MyAggregateDataType
check of return status not required
runCmd failed!
error: expression evaluation of address to watch failed
expression evaluated: MyAggregateDataType


Expecting start string: error: expression did not evaluate to an address
Not matched

FAIL

==========================================================================
python dotest.py --executable ~/GIT.d/llvm-0212.wrk/build/bin/lldb -v -t -p 
TestWatchLocationWithWatchSet.py

    . . . .

runCmd: watchpoint set expression -w write -x 1 -- g_char_ptr + 7
runCmd failed!
error: expression evaluation of address to watch failed
expression evaluated: g_char_ptr + 7


FAILURE

-- 
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/20140214/d8a51872/attachment.html>


More information about the lldb-dev mailing list