1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 5<link href="style.css" rel="stylesheet" type="text/css" /> 6<title>LLDB Status</title> 7</head> 8 9<body> 10 <div class="www_title"> 11 The <strong>LLDB</strong> Debugger 12 </div> 13 14<div id="container"> 15 <div id="content"> 16 <!--#include virtual="sidebar.incl"--> 17 18 <div id="middle"> 19 <div class="post"> 20 <h1 class ="postheader">Mac OS X Status</h1> 21 <div class="postcontent"> 22 23 <p>LLDB has matured a lot in the last year and can be used for 24 C, C++ and Objective C development for x86_64, i386 and ARM debugging. 25 The entire public API is exposed though a framework on Mac OS X which 26 is used by Xcode, the lldb command line tool, and can also be used by 27 Python. The entire public API is exposed through script bridging which 28 allows LLDB to use an embedded Python script interpreter, as well as 29 having a Python module named "lldb" which can be used from Python 30 on the command line. This allows debug sessions to be scripted. It also 31 allows powerful debugging actions to be created and attached to a variety 32 of debugging workflows.</p> 33 </div> 34 <h1 class ="postheader">Linux Status</h1> 35 <div class="postcontent"> 36 <p> LLDB is improving on Linux. While the debugserver has not been ported 37 (to enable remote debugging) Linux is nearing feature completeness with Darwin 38 to debug x86_64 programs, and is partially working with i386 programs. 39 ARM architectures on Linux are untested. 40 For more details, see the Features by OS section below. 41 </div> 42 <h1 class ="postheader">FreeBSD Status</h1> 43 <div class="postcontent"> 44 <p> LLDB on FreeBSD lags behind the Linux implementation but is improving rapidly. 45 For more details, see the Features by OS section below. 46 </div> 47 <h1 class ="postheader">Features by OS</h1> 48 <div class="postcontent"> 49 <p> The table below shows a summary of the features that are available 50 on several platforms. In addition to Linux and Mac OS X, LLDB is also 51 known to work on FreeBSD. Windows support is under development. 52 <table border="1"> 53 <tr> 54 <th>Feature</th> 55 <th>FreeBSD<br>(x86_64)</th> 56 <th>Linux<br>(x86_64)</th> 57 <th>Mac OS X (i386/x86_64 and ARM/Thumb)</th> 58 </tr> 59 <tr> 60 <td>Backtracing</td> 61 <td>OK</td> 62 <td>OK</td> 63 <td>OK</td> 64 </tr> 65 <tr> 66 <td>Breakpoints 67 <ul> 68 <li>source-line 69 <li>symbolic 70 <li>C++ mangled names 71 <li>module scoping 72 </ul> 73 </td> 74 <td>OK</td> 75 <td>OK</td> 76 <td>OK</td> 77 </tr> 78 <tr> 79 <td>C++11: 80 <ul> 81 <li>function access 82 <li>template support 83 <li>dynamic types 84 </ul></td> 85 <td>OK</td> 86 <td>OK</td> 87 <td>OK</td> 88 </tr> 89 <tr> 90 <td>Commandline lldb tool</td> 91 <td>OK</td> 92 <td>OK</td> 93 <td>OK</td> 94 </tr> 95 <tr> 96 <td>Core file debugging</td> 97 <td>OK (ELF)</td> 98 <td>OK (ELF)</td> 99 <td>OK (MachO)</td> 100 </tr> 101 <tr> 102 <td>Debugserver (remote debugging)</td> 103 <td>Not ported</td> 104 <td>Not ported</td> 105 <td>OK</td> 106 </tr> 107 <tr> 108 <td>Disassembly</td> 109 <td>OK</td> 110 <td>OK</td> 111 <td>OK</td> 112 </tr> 113 <tr> 114 <td>Expression evaluation</td> 115 <td>Unknown</td> 116 <td>Works with some bugs</td> 117 <td>OK</td> 118 </tr> 119 <tr> 120 <td>JIT debugging</td> 121 <td>Unknown</td> 122 <td>Symbolic debugging only</td> 123 <td>Untested</td> 124 </tr> 125 <tr> 126 <td>Objective-C 2.0: 127 <ul> 128 <li>printing properties 129 <li>synthetic properties 130 <li>expressions 131 <li>KVO 132 <li>dynamic types 133 <li>dot syntax 134 <li>runtime data 135 <li>stepping into/over 136 <li>printing the description of an object ("po") 137 </ul></td> 138 <td>Unknown</td> 139 <td>Not applicable</td> 140 <td>OK</td> 141 </tr> 142 <tr> 143 <td>Process control 144 <ul> 145 <li>attach 146 <li>continue 147 <li>exec, execve... 148 <li>fork 149 <li>launch 150 <li>status 151 </ul> 152 </td> 153 <td>Works, with some bugs</td> 154 <td>OK (except exec*)</td> 155 <td>OK</td> 156 </tr> 157 <tr> 158 <td>Public Python API</td> 159 <td>OK</td> 160 <td>OK</td> 161 <td>OK</td> 162 </tr> 163 <tr> 164 <td>Registers (x86_64 and i386) 165 <ul> 166 <li>general purpose 167 <li>floating point 168 <li>exception state 169 <li>SSE 170 <li>AVX 171 </ul> 172 </td> 173 <td>GP and FP OK</td> 174 <td>OK (except for exception state registers)</td> 175 <td>OK</td> 176 </tr> 177 <tr> 178 <td>Script bridging</td> 179 <td>OK</td> 180 <td>OK</td> 181 <td>OK</td> 182 </tr> 183 <tr> 184 <td>Symbol reading and object file introspection</td> 185 <td>OK</td> 186 <td>OK</td> 187 <td>OK</td> 188 </tr> 189 <tr> 190 <td>Thread inspection and stepping</td> 191 <td>Not yet implemented</td> 192 <td>OK</td> 193 <td>OK</td> 194 </tr> 195 <tr> 196 <td>Watchpoints</td> 197 <td>Fail</td> 198 <td>OK</td> 199 <td>OK</td> 200 </tr> 201 </table> 202 </div> 203 <div class="postfooter"></div> 204 </div> 205 </div> 206 </div> 207</div> 208</body> 209</html> 210