Reviewers: wingo, machenbach, Michael Achenbach,
Description:
Fix missing "re" module import in GDB support script
The gdb-v8-support.py script uses the "re" module to match regular
expression,
but it does not import it, resulting in an error when loading the script
from
GDB. This patch adds the missing import.
BUG=
Please review this at https://codereview.chromium.org/1245713002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -0 lines):
M tools/gdb-v8-support.py
Index: tools/gdb-v8-support.py
diff --git a/tools/gdb-v8-support.py b/tools/gdb-v8-support.py
index
8f5ff5bb5e80fa068f729276f3ec8ac0ff86180c..5d26146fc7e10b9cbeaf70251cdcc972156496b2
100644
--- a/tools/gdb-v8-support.py
+++ b/tools/gdb-v8-support.py
@@ -25,6 +25,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+import re
kSmiTag = 0
kSmiTagSize = 1
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.