Claus Nagel wrote:
Hi,
I tried Bruce's suggestions (and failed miserably...)
Running parrot under gdb with:
(gdb) run src/gen/perl6.pbc --target=pir src/gen/core.pm
Starting program: D:\Src\rakudo/.\parrot_install\bin\parrot.exe
src/gen/perl6.pbc --target=pir src/gen/core.pm
[New Thread 4828.0x2b0]
just produces this stuff at the end:
capture_lex $P18104
.const 'Sub' $P18074 = "1874_1267096783.677"
capture_lex $P18074
.const 'Sub'
.HLL "perl6"
.namespac
Program exited normally.
(gdb)
I am having the same results under 32 bit Vista with Activestate Perl
and Mingw including the -1073741819/0xC0000005 error.
The output (stuff at the end) you are looking at is the pir output
specified by --target=pir. Your run command did not redirect parrot's
ouput. I tried redirecting the output with
(gdb) run src/gen/perl6.pbc --target=pir src/gen/core.pm >src/gen/core.pir
but the output went to the screen anyway and not the file. I believe
that it may be possible that if one could get redirection to work it
might be a way around the 'access violation' for the time being. I
tried "gdb parrot_install\bin\parrot.exe 2>&1" but that didn't redirect
parrot output properly either and am wondering whether anyone following
this thread has a suggestion.
Ron