Author: leo
Date: Thu Mar  9 04:21:25 2006
New Revision: 11834

Modified:
   trunk/src/pdump.c

Log:
better fix for pdump - set stacktop

Modified: trunk/src/pdump.c
==============================================================================
--- trunk/src/pdump.c   (original)
+++ trunk/src/pdump.c   Thu Mar  9 04:21:25 2006
@@ -210,9 +210,8 @@
         help();
     }
     interpreter = make_interpreter(NULL, PARROT_NO_FLAGS);
-    Parrot_init(interpreter);
-    Parrot_block_DOD(interpreter);
-    Parrot_block_GC(interpreter);
+    /* init and set top of stack */
+    Parrot_init_stacktop(interpreter, &status);
     while ((status = longopt_get(interpreter,
                     argc, argv, options, &opt)) > 0) {
         switch (opt.opt_id) {

Reply via email to