From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Jacques-Olivier Goussard Cc: gdb@sourceware.cygnus.com Subject: RE: Helping GDB to find symbols Date: Tue, 01 May 2001 01:44:00 -0000 Message-id: References: X-SW-Source: 2001-05/msg00000.html On Mon, 30 Apr 2001, Jacques-Olivier Goussard wrote: > > Doesn't it work to say "gdb yourprog core", where `yourprog' is the > > unstripped binary and `core' is the core file you get from your > > customers? > No. I guess it gets mixed up in the addresses and offsets. The stacktrace > for example is quite different when I switched to the non-debug to > debug binaries (exec and dynamic libraries). Hmm? I don't understand how is this possible: all the addresses in a stripped program should be exactly like in an unstripped one. Otherwise, you won't be able to debug the core dump which originated from an unstripped program. Am I missing something? What is your object file format and debug info format, btw?