Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 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 is not ported |
Ashok Thirumurthi | 9bca2cf | 2013-05-24 19:25:33 +0000 | [diff] [blame] | 37 | (to enable remote debugging) and debugging of multi-threaded programs is in its infancy, most |
| 38 | of the functionality, including the Python API and the command line tool, |
| 39 | is working on the x86_64 architecture, and partially working with i386. |
| 40 | FreeBSD is untested. ARM architectures on Linux are untested. |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 41 | For more details, see the Features by OS section below. |
| 42 | </div> |
| 43 | <h1 class ="postheader">Features by OS</h1> |
| 44 | <div class="postcontent"> |
| 45 | <p> The table below shows a summary of the features that are available |
| 46 | on several platforms. In addition to Linux and Mac OS X, LLDB is also |
| 47 | known to work on FreeBSD. Windows support is under development. |
| 48 | <table border="1"> |
| 49 | <tr> |
| 50 | <th>Feature</th> |
Ashok Thirumurthi | 9bca2cf | 2013-05-24 19:25:33 +0000 | [diff] [blame] | 51 | <th>Linux<br>(x86_64)</th> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 52 | <th>Mac OS X (i386/x86_64 and ARM/Thumb)</th> |
| 53 | </tr> |
| 54 | <tr> |
| 55 | <td>Backtracing</td> |
Ashok Thirumurthi | 9bca2cf | 2013-05-24 19:25:33 +0000 | [diff] [blame] | 56 | <td>OK (except with targets built with -fomit-frame-pointer)</td> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 57 | <td>OK</td> |
| 58 | </tr> |
| 59 | <tr> |
| 60 | <td>Breakpoints |
| 61 | <ul> |
| 62 | <li>source-line |
| 63 | <li>symbolic |
| 64 | <li>C++ mangled names |
| 65 | <li>module scoping |
| 66 | </ul> |
| 67 | </td> |
Daniel Malea | 1fc46d2 | 2013-01-10 23:13:06 +0000 | [diff] [blame] | 68 | <td>OK</td> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 69 | <td>OK</td> |
| 70 | </tr> |
| 71 | <tr> |
| 72 | <td>C++11: |
| 73 | <ul> |
| 74 | <li>function access |
| 75 | <li>template support |
| 76 | <li>dynamic types |
| 77 | </ul></td> |
| 78 | <td>OK</td> |
| 79 | <td>OK</td> |
| 80 | </tr> |
| 81 | <tr> |
| 82 | <td>Commandline lldb tool</td> |
| 83 | <td>OK</td> |
| 84 | <td>OK</td> |
| 85 | </tr> |
| 86 | <tr> |
| 87 | <td>Debugserver (remote debugging)</td> |
| 88 | <td>Not ported</td> |
| 89 | <td>OK</td> |
| 90 | </tr> |
| 91 | <tr> |
| 92 | <td>Disassembly</td> |
| 93 | <td>OK</td> |
| 94 | <td>OK</td> |
| 95 | </tr> |
| 96 | <tr> |
| 97 | <td>Expression evaluation</td> |
| 98 | <td>Works with some bugs</td> |
| 99 | <td>OK</td> |
| 100 | </tr> |
| 101 | <tr> |
| 102 | <td>Objective-C 2.0: |
| 103 | <ul> |
| 104 | <li>printing properties |
| 105 | <li>synthetic properties |
| 106 | <li>expressions |
| 107 | <li>KVO |
| 108 | <li>dynamic types |
| 109 | <li>dot syntax |
| 110 | <li>runtime data |
| 111 | <li>stepping into/over |
| 112 | <li>printing the description of an object ("po") |
| 113 | </ul></td> |
Jason Molenda | bf692ae | 2012-11-09 06:16:12 +0000 | [diff] [blame] | 114 | <td>Not applicable</td> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 115 | <td>OK</td> |
| 116 | </tr> |
| 117 | <tr> |
| 118 | <td>Process control |
| 119 | <ul> |
| 120 | <li>launch |
| 121 | <li>attach |
| 122 | <li>continue |
Ashok Thirumurthi | 9bca2cf | 2013-05-24 19:25:33 +0000 | [diff] [blame] | 123 | <li>fork |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 124 | </ul> |
| 125 | </td> |
Ashok Thirumurthi | 9bca2cf | 2013-05-24 19:25:33 +0000 | [diff] [blame] | 126 | <td>OK</td> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 127 | <td>OK</td> |
| 128 | </tr> |
| 129 | <tr> |
| 130 | <td>Public Python API</td> |
| 131 | <td>OK</td> |
| 132 | <td>OK</td> |
| 133 | </tr> |
| 134 | <tr> |
Ashok Thirumurthi | 9bca2cf | 2013-05-24 19:25:33 +0000 | [diff] [blame] | 135 | <td>Registers (x86_64 and i386) |
| 136 | <ul> |
| 137 | <li>general purpose |
| 138 | <li>floating point |
| 139 | <li>exception state |
| 140 | <li>SSE |
| 141 | <li>AVX |
| 142 | </ul> |
| 143 | </td> |
| 144 | <td>OK (except for exception state registers)</td> |
| 145 | <td>OK</td> |
| 146 | </tr> |
| 147 | <tr> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 148 | <td>Script bridging</td> |
| 149 | <td>OK</td> |
| 150 | <td>OK</td> |
| 151 | </tr> |
| 152 | <tr> |
| 153 | <td>Symbol reading and object file introspection</td> |
| 154 | <td>OK</td> |
| 155 | <td>OK</td> |
| 156 | </tr> |
| 157 | <tr> |
| 158 | <td>Thread inspection and stepping</td> |
| 159 | <td>OK for single thread (no multi-threaded support)</td> |
| 160 | <td>OK</td> |
| 161 | </tr> |
| 162 | <tr> |
| 163 | <td>Watchpoints</td> |
Matt Kopec | 0dd7170 | 2013-05-08 19:45:07 +0000 | [diff] [blame] | 164 | <td>OK</td> |
Jason Molenda | a10929d | 2012-11-09 06:14:39 +0000 | [diff] [blame] | 165 | <td>OK</td> |
| 166 | </tr> |
| 167 | </table> |
| 168 | </div> |
| 169 | <div class="postfooter"></div> |
| 170 | </div> |
| 171 | </div> |
| 172 | </div> |
| 173 | </div> |
| 174 | </body> |
| 175 | </html> |