2013-07-20 01:28:54 +08:00
|
|
|
<?xml version="1.0" encoding="ascii"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
"DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<title>lldb.embedded_interpreter</title>
|
|
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
|
|
alink="#204080">
|
|
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
|
|
|
|
<!-- Tree link -->
|
|
|
|
<th> <a
|
|
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
|
|
|
|
<!-- Index link -->
|
|
|
|
<th> <a
|
|
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
|
|
|
|
<!-- Help link -->
|
|
|
|
<th> <a
|
|
|
|
href="help.html">Help</a> </th>
|
|
|
|
|
|
|
|
<!-- Project homepage -->
|
|
|
|
<th class="navbar" align="right" width="100%">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr><th class="navbar" align="center"
|
|
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
|
|
</tr></table></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="100%">
|
|
|
|
<span class="breadcrumbs">
|
|
|
|
<a href="lldb-module.html">Package lldb</a> ::
|
|
|
|
Module embedded_interpreter
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table cellpadding="0" cellspacing="0">
|
|
|
|
<!-- hide/show private -->
|
|
|
|
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
|
|
|
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
|
|
|
<tr><td align="right"><span class="options"
|
|
|
|
>[<a href="frames.html" target="_top">frames</a
|
|
|
|
>] | <a href="lldb.embedded_interpreter-module.html"
|
|
|
|
target="_top">no frames</a>]</span></td></tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== MODULE DESCRIPTION ==================== -->
|
|
|
|
<h1 class="epydoc">Module embedded_interpreter</h1><p class="nomargin-top"><span class="codelink"><a href="lldb.embedded_interpreter-pysrc.html">source code</a></span></p>
|
|
|
|
<!-- ==================== CLASSES ==================== -->
|
|
|
|
<a name="section-Classes"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td colspan="2" class="table-header">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
|
|
<tr valign="top">
|
|
|
|
<td align="left"><span class="table-header">Classes</span></td>
|
|
|
|
<td align="right" valign="top"
|
|
|
|
><span class="options">[<a href="#section-Classes"
|
|
|
|
class="privatelink" onclick="toggle_private();"
|
|
|
|
>hide private</a>]</span></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
2016-10-20 21:04:32 +08:00
|
|
|
<a href="lldb.embedded_interpreter.LLDBQuitter-class.html" class="summary-name">LLDBQuitter</a>
|
2013-07-20 01:28:54 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== FUNCTIONS ==================== -->
|
|
|
|
<a name="section-Functions"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td colspan="2" class="table-header">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
|
|
<tr valign="top">
|
|
|
|
<td align="left"><span class="table-header">Functions</span></td>
|
|
|
|
<td align="right" valign="top"
|
|
|
|
><span class="options">[<a href="#section-Functions"
|
|
|
|
class="privatelink" onclick="toggle_private();"
|
|
|
|
>hide private</a>]</span></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
2016-10-20 21:04:32 +08:00
|
|
|
<td><span class="summary-sig"><a name="setquit"></a><span class="summary-sig-name">setquit</span>()</span><br />
|
|
|
|
Redefine builtin functions 'quit()' and 'exit()' to print a message
|
|
|
|
and raise an EOFError exception.</td>
|
|
|
|
<td align="right" valign="top">
|
|
|
|
<span class="codelink"><a href="lldb.embedded_interpreter-pysrc.html#setquit">source code</a></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td><span class="summary-sig"><a name="get_terminal_size"></a><span class="summary-sig-name">get_terminal_size</span>(<span class="summary-sig-arg">fd</span>)</span></td>
|
|
|
|
<td align="right" valign="top">
|
|
|
|
<span class="codelink"><a href="lldb.embedded_interpreter-pysrc.html#get_terminal_size">source code</a></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td><span class="summary-sig"><a name="readfunc_stdio"></a><span class="summary-sig-name">readfunc_stdio</span>(<span class="summary-sig-arg">prompt</span>)</span></td>
|
|
|
|
<td align="right" valign="top">
|
|
|
|
<span class="codelink"><a href="lldb.embedded_interpreter-pysrc.html#readfunc_stdio">source code</a></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td><span class="summary-sig"><a name="run_python_interpreter"></a><span class="summary-sig-name">run_python_interpreter</span>(<span class="summary-sig-arg">local_dict</span>)</span></td>
|
2013-07-20 01:28:54 +08:00
|
|
|
<td align="right" valign="top">
|
|
|
|
<span class="codelink"><a href="lldb.embedded_interpreter-pysrc.html#run_python_interpreter">source code</a></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
|
|
<tr>
|
2016-10-20 21:04:32 +08:00
|
|
|
<td><span class="summary-sig"><a name="run_one_line"></a><span class="summary-sig-name">run_one_line</span>(<span class="summary-sig-arg">local_dict</span>,
|
2013-07-20 01:28:54 +08:00
|
|
|
<span class="summary-sig-arg">input_string</span>)</span></td>
|
|
|
|
<td align="right" valign="top">
|
|
|
|
<span class="codelink"><a href="lldb.embedded_interpreter-pysrc.html#run_one_line">source code</a></span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== VARIABLES ==================== -->
|
|
|
|
<a name="section-Variables"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td colspan="2" class="table-header">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
|
|
<tr valign="top">
|
|
|
|
<td align="left"><span class="table-header">Variables</span></td>
|
|
|
|
<td align="right" valign="top"
|
|
|
|
><span class="options">[<a href="#section-Variables"
|
|
|
|
class="privatelink" onclick="toggle_private();"
|
|
|
|
>hide private</a>]</span></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2016-10-20 21:04:32 +08:00
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="have_readline"></a><span class="summary-name">have_readline</span> = <code title="True">True</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="g_builtin_override_called"></a><span class="summary-name">g_builtin_override_called</span> = <code title="False">False</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="g_run_one_line_str"></a><span class="summary-name">g_run_one_line_str</span> = <code title="None">None</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2013-07-20 01:28:54 +08:00
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'lldb'"><code class="variable-quote">'</code><code class="variable-string">lldb</code><code class="variable-quote">'</code></code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
|
|
|
|
<!-- Tree link -->
|
|
|
|
<th> <a
|
|
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
|
|
|
|
<!-- Index link -->
|
|
|
|
<th> <a
|
|
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
|
|
|
|
<!-- Help link -->
|
|
|
|
<th> <a
|
|
|
|
href="help.html">Help</a> </th>
|
|
|
|
|
|
|
|
<!-- Project homepage -->
|
|
|
|
<th class="navbar" align="right" width="100%">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr><th class="navbar" align="center"
|
|
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
|
|
</tr></table></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
|
|
<tr>
|
|
|
|
<td align="left" class="footer">
|
2016-10-20 21:04:32 +08:00
|
|
|
Generated by Epydoc 3.0.1 on Fri Oct 14 13:55:23 2016
|
2013-07-20 01:28:54 +08:00
|
|
|
</td>
|
|
|
|
<td align="right" class="footer">
|
|
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
|
|
>http://epydoc.sourceforge.net</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
// Private objects are initially displayed (because if
|
|
|
|
// javascript is turned off then we want them to be
|
|
|
|
// visible); but by default, we want to hide them. So hide
|
|
|
|
// them unless we have a cookie that says to show them.
|
|
|
|
checkCookie();
|
|
|
|
// -->
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|