[svn:parrot] r46249 - trunk/src/runcore

darbelo at svn.parrot.org darbelo at svn.parrot.org
Mon May 3 22:32:27 UTC 2010


Author: darbelo
Date: Mon May  3 22:32:27 2010
New Revision: 46249
URL: https://trac.parrot.org/parrot/changeset/46249

Log:
Remove '#if 0' from src/runcore/cores.c

Modified:
   trunk/src/runcore/cores.c

Modified: trunk/src/runcore/cores.c
==============================================================================
--- trunk/src/runcore/cores.c	Mon May  3 22:32:14 2010	(r46248)
+++ trunk/src/runcore/cores.c	Mon May  3 22:32:27 2010	(r46249)
@@ -564,13 +564,9 @@
          * using a distinct interpreter for tracing should be ok
          * - just in case, make it easy to switch
          */
-#if 0
-        debugger = interp:
-#else
         Parrot_debugger_init(interp);
         PARROT_ASSERT(interp->pdb);
         debugger = interp->pdb->debugger;
-#endif
         PARROT_ASSERT(debugger);
 
         /* set the top of the stack so GC can trace it for GC-able pointers
@@ -640,10 +636,6 @@
 
     if (Interp_trace_TEST(interp, PARROT_TRACE_OPS_FLAG))
         return runops_trace_core(interp, pc);
-#if 0
-    if (interp->debugger && interp->debugger->pdb)
-        return Parrot_debug(interp, interp->debugger, pc);
-#endif
 
     while (pc) {
         if (pc < code_start || pc >= code_end)


More information about the parrot-commits mailing list