简体   繁体   中英

Connect gdb from Perl Script

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM