On Fri, 31 Oct 2008, Gerd Pokorra wrote:

> [EMAIL PROTECTED] tge]$ gdb ../../parrot

> (gdb) set args ../../runtime/parrot/library/PGE/Perl6Grammar.pbc
> --output=TGE/Parser.pir TGE/Parser.pg
> (gdb) run
> Starting
> program: /home/gz016/parrot-sources/debug/parrot-0.8.0/parrot 
> ../../runtime/parrot/library/PGE/Perl6Grammar.pbc --output=TGE/Parser.pir 
> TGE/Parser.pg
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7f543fe82700 (LWP 5203)]

Another thing you might want to consider is that you can probably find a 
more tractable test case somewhere in the test suite.  Try

           perl t/harness --core-tests

and see what tests fail.  (Obviously, ones that depend on PGE will fail, 
but we already know that.  You're looking for simpler test cases.)

Then, once you find tests that fail, try running those individual tests 
with parrot (and also with parrot -G to turn off garbage collection) and 
see what's the smallest or simplest failing test case you can find.  They 
might be better candidates for debugging.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to