Loading a Core Dump File

How to load a Core Dump into GDB:

So you've captured a core dump file and need to analyze it. Here's how.

Step 1.

Load the core dump file via GDB

Note - you can view general info about the core dump file using the "otool" command (example: $ otool -c /cores/core.180).

To load the dump via GDB:

$ gdb -c /cores/core.180

See Adding Symbol Files to GDB for info on loading symbol files.

© MindArray.org 2011