On Thursday 01 April 2004 08:05 am, Stas Bekman wrote:
> Beau E. Cox wrote:
> > On Wednesday 31 March 2004 09:21 pm, Stas Bekman wrote:
> >>Beau E. Cox wrote:
> >>[...]
> >>
> >>>The module in question - mod_perl.c - line 614 is ' rcfg = '. I hand-
> >>>expanded the MP_dRCFG macro in the hope if getting more information,
> >>>but all that showed is, indeed, the routine was entered with a non-NULL
> >>>request_rec:
> >>
> >>A handy tip: you can make gdb open macros for you:
> >>http://perl.apache.org/docs/2.0/devel/debug/c.html#Expanding_C_Macros
> >
> > Thanks Stas - the 'ol preprocessor - good tip.
> >
> > Tried it, updated .c file with the 'official' expansion (I did
> > it right by the way), tested, same seg fault.
>
> It shouldn't have changed anything, just suggesting an easy way to expand
> macros. I wasn't talking about the first item of the abover URL, but the
> second, which explains how to setup up your build so that you can
> dynamically expand macros from within gdb. You don't need to expand them
> manually in your code. That's the whole coolness of it.

OK - I see it now. COOL.

Aloha => Beau;


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to