c++ - moving core dump from Unix production environment to other development Unix environment -


one of our application generating core in production. core generated not of variable values shown optimized out / not contain of debugging information.

when move core production development environment gdb fails load successfully. think due dependencies on other libraries on production.

please let me know how can move core production development environment without moving remaining dependent libraries.

thanks in advance

if system libraries on development environment not match system libraries on production environment, gdb issue warnings, , may fail decode core file. should run ldd on program find list of libraries depends on, , copy production environment development environment.

it convenient copy dependent libraries directory structure mimics root directory structure of production environment (a fake root if will). can use gdb command set solib-absolute-prefix set path of fake root place find libraries.

this question seems related, if not duplicate of another question.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -