Make sure you have one first:

The binary needs to match the core dump