1

Is it relevant that the program is exactly the same build as the one which crashed to generate the core file?

dbx <program path> <core path>
Medicine
  • 1,923
  • 2
  • 23
  • 33

1 Answers1

3

The program contains the symbol table, which is used to translate locations in the core dump to program statements and variable names. If you use a different build, these locations usually will have changed, so many, perhaps most, symbolic references won't work correctly when debugging.

Barmar
  • 741,623
  • 53
  • 500
  • 612