From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jacques-Olivier Goussard" To: Subject: RE: Helping GDB to find symbols Date: Mon, 30 Apr 2001 09:32:00 -0000 Message-id: References: X-SW-Source: 2001-04/msg00224.html > On Mon, 30 Apr 2001, Jacques-Olivier Goussard wrote: > > > I hope that the proper list to send this... > > I have the following pb: I shipp products with no debug information, > > so when a customer has a core dump, I need to fall back on assembly > > output to try to tackle the pb. > > As I have access to the source code and the debug-compiled product, > > I was wondering if there was a mean to *help* GDB and provide it with > > some of the debug info. > > 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). Jacques-Olivier