<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 --- - frame info lost after failed expression evaluation"
href="http://llvm.org/bugs/show_bug.cgi?id=17226">17226</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>frame info lost after failed expression evaluation
</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>emaste@freebsd.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Encountered while investigating TestObjCStepping.test_with_dwarf_and_python_api
% bin/lldb ../tools/lldb/test/lang/c/stepping/a.out
Current executable set to '../tools/lldb/test/lang/c/stepping/a.out' (x86_64).
(lldb) b 34
Breakpoint 1: where = a.out`b + 11 at main.c:34, address = 0x000000000040064b
(lldb) run
Process 70433 launched: '../tools/lldb/test/lang/c/stepping/a.out' (x86_64)
Process 70433 stopped
* thread #1: tid = 70433, 0x000000000080064b a.out`b(val=1) + 11 at main.c:34,
stop reason = breakpoint 1.1
frame #0: 0x000000000080064b a.out`b(val=1) + 11 at main.c:34
31
32 int b(int val)
33 {
-> 34 int rc = c(val); // thread step-out while stopped at "c(2)"
35 return rc;
36 }
37
(lldb) expr (int) printf (print_string)
error: Couldn't materialize struct: size of variable print_string disagrees
with the ValueObject's size
Errored out in Execute, couldn't PrepareToExecuteJITExpression
(lldb) frame info
frame #0: 0x00000000008004d0 a.out`_start(ap=0x0000000000000000,
cleanup=0x0000000000001000) at crt1.c:65</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>