Change 19858 by [EMAIL PROTECTED] on 2003/06/26 20:21:53

        perlhack update, by Steve Grazzini
        about macro support in gdb and gcc.

Affected files ...

... //depot/perl/pod/perlhack.pod#70 edit

Differences ...

==== //depot/perl/pod/perlhack.pod#70 (text) ====
Index: perl/pod/perlhack.pod
--- perl/pod/perlhack.pod#69~19211~     Mon Apr 14 14:11:11 2003
+++ perl/pod/perlhack.pod       Thu Jun 26 13:21:53 2003
@@ -1322,6 +1322,12 @@
 produce by saying C<cpp -dM perl.c | sort>. Even then, F<cpp> won't
 recursively apply the macros for you. 
 
+B<NOTE>: Recent versions of F<gdb> have fairly good macro support, but
+in order to use it you'll need to compile perl with macro definitions
+included in the debugging information.  Using F<gcc> version 3.1, this
+means configuring with C<-Doptimize=-g3>.  Other compilers might use a
+different switch (if they support debugging macros at all).
+
 =back
 
 =head2 Dumping Perl Data Structures
End of Patch.

Reply via email to