[pypy-svn] r14708 - pypy/dist/pypy/translator/goal

pedronis at codespeak.net pedronis at codespeak.net
Fri Jul 15 21:31:54 CEST 2005


Author: pedronis
Date: Fri Jul 15 21:31:53 2005
New Revision: 14708

Modified:
   pypy/dist/pypy/translator/goal/translate_pypy.py
Log:
given that recording annotator debug info is off by default now, replace -no-d option with a -d to reenable the debug info recording.



Modified: pypy/dist/pypy/translator/goal/translate_pypy.py
==============================================================================
--- pypy/dist/pypy/translator/goal/translate_pypy.py	(original)
+++ pypy/dist/pypy/translator/goal/translate_pypy.py	Fri Jul 15 21:31:53 2005
@@ -21,7 +21,7 @@
    -o         Generate and compile the C code, but don't run it
    -tcc       Equivalent to the envvar PYPY_CC='tcc -shared -o "%s.so" "%s.c"'
                   -- http://fabrice.bellard.free.fr/tcc/
-   -no-d      Disable recording of debugging information
+   -d         Enable recording of annotator debugging information
    -huge=%    Threshold in the number of functions after which only a local call
               graph and not a full one is displayed
    -no-snapshot
@@ -259,7 +259,7 @@
                '-no-t': False,
                '-no-o': False,
                '-tcc':  False,
-               '-no-d': False,
+               '-d': False,
                '-no-snapshot' : False,
                '-load': False,
                '-save': False,
@@ -292,8 +292,8 @@
                     save_file = argiter.next()
     if options['-tcc']:
         os.environ['PYPY_CC'] = 'tcc -shared -o "%s.so" "%s.c"'
-    if options['-no-d']:
-        annmodel.DEBUG = False
+    if options['-d']:
+        annmodel.DEBUG = True
 
     def about(x):
         """ interactive debugging helper """



More information about the Pypy-commit mailing list