This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Helping GDB to find symbols
- To: <gdb at sourceware dot cygnus dot com>
- Subject: RE: Helping GDB to find symbols
- From: "Jacques-Olivier Goussard" <jgoussard at nuance dot com>
- Date: Mon, 30 Apr 2001 12:33:26 -0400
> 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