This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Helping GDB to find symbols


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]