Reputation:
I am writing perl script which is getting core from Production. I have got core and need to run the gdb on these core file. Can anyone provide me info to connect gdb from perl script.
Upvotes: 0
Views: 1026
Reputation: 213646
Can anyone provide me info to connect gdb from perl script.
You don't want to do that.
What you want to do instead, is figure out why your perl
is crashing with a core dump in production. To do that, run
gdb /path/to/perl /path/to/core
on the production machine, then issue where
command.
Upvotes: 1