I am using:
gdb 4.15.1 (i486-slackware-linux)
gcc 2.7.2 (i486)
I can run my app from within gdb and debug normally. Then I run my app
from the command line and it crashes, generating a core file. When I try
and debug the crash using:
gdb my_app core
it gives the error:
Couldn't fetch registers from core file: File in wrong format
I have tried compiling with -g, -ggdb, -g -ggdb all to no avail. I would
greatly appreciate help getting my core files to work. If you need more
information please e-mail or post.