<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 --- - LLDB does not stop at breakpoint from "--source" file"
href="http://llvm.org/bugs/show_bug.cgi?id=22323">22323</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLDB does not stop at breakpoint from "--source" file
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>christian@fox21.at
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Version: lldb-330.99.0 (ToT)
OS: OS X 10.10.1 Yosemite
Reference discussion:
<a href="http://lists.cs.uiuc.edu/pipermail/lldb-dev/2015-January/006386.html">http://lists.cs.uiuc.edu/pipermail/lldb-dev/2015-January/006386.html</a>
Reconstruction:
:> cat /tmp/test.lldb
br s -a 0x7fff5fc01031
br s -a 0x7fff5fc01271
br s -a 0x7fff5fc05bdc
process launch --stop-at-entry
:> lldb PATH/TO/A_EXECUTABLE -s /tmp/test.lldb
The first breakpoint LLDB will hit is at 0x7fff5fc05bdc. 0x7fff5fc01031 is in
_dyld_start. If I set the 0x7fff5fc01031 breakpoint manually after LLDB stop at
the entry (_dyld_start, 0x7fff5fc01000) it will work. The first breakpoint from
the source file which will work is after all images has been linked.</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>