This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make debugging easier in memory allocator code in perl.c and util.c
authorDaniel Dragan <bulk88@hotmail.com>
Tue, 20 May 2014 07:23:01 +0000 (03:23 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 15 Nov 2014 14:57:53 +0000 (06:57 -0800)
commit6edcbed6404ee551719c9a49397baea538aae7cc
treead31ebdeaa29319bfb89b5dd28ab266feb6cef03
parent1f9498d0e14a8f9d5a95c29b732bb33bb3c669d8
make debugging easier in memory allocator code in perl.c and util.c

-show intermediate values to make C debugging easier
-Perl_safesysfree overwrote var where with a different value, this caused
 alot of confusion for me of trying to hunt for a pointer from a stack
 trace with conditional breakpoints, so don't change var where in an
 unoptimized build
-in Perl_safesysrealloc and Perl_safesysmalloc provide 1 exit path, so
 the returned value is easily seen and BPed on unoptimized builds
perl.c
util.c