On Thu, 6 Sep 2001, Stas Bekman wrote:
> so there is no way to trap such SEGV? I wanted to work on automatic SEGV
> trapping and automatically producing the trace, I thought that was a good
> example to work with.
not with a Perl signal handler. however, you can install a C signal
handler and print out PL_curcop->cop_line, PL_curcop->cop_file to report
the linenumber:file in the Perl core where the segv happened.
should be possible to write a C version of caller() too.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]