From: Dave Mitchell Date: Thu, 19 Feb 2004 13:43:18 +0000 (+0000) Subject: -Dx could coredump on threaded builds because consts are now X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b6a15bc5202dd52395ce566b43e1490d38dc2141;p=p5sagit%2Fp5-mst-13.2.git -Dx could coredump on threaded builds because consts are now stored in the pad p4raw-id: //depot/perl@22343 --- diff --git a/dump.c b/dump.c index 17e132b..798c331 100644 --- a/dump.c +++ b/dump.c @@ -659,7 +659,11 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o) break; case OP_CONST: case OP_METHOD_NAMED: +#ifndef USE_ITHREADS + /* with ITHREADS, consts are stored in the pad, and the right pad + * may not be active here, so skip */ Perl_dump_indent(aTHX_ level, file, "SV = %s\n", SvPEEK(cSVOPo_sv)); +#endif break; case OP_SETSTATE: case OP_NEXTSTATE: