<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Two watchpoint set expression tests fail on FreeBSD"
href="http://llvm.org/bugs/show_bug.cgi?id=18832">18832</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Two watchpoint set expression tests fail on FreeBSD
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jlw@xinuos.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>