How can I do core dump analysis for a production application in UNIX/Linux? How can I do core dump analysis for a production application in UNIX/Linux? unix unix

How can I do core dump analysis for a production application in UNIX/Linux?


Debug symbols will not slow down the application. You can work with split debug symbols as follows.

gcc -ggdb -o target obj1.o obj2.o ...strip target --only-keep-debug -o target.dbgstrip target

Then in gdb, use symbol-file target.dbg