From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Andrew Cagney Cc: Jacques-Olivier Goussard , gdb@sourceware.cygnus.com Subject: Re: Helping GDB to find symbols Date: Tue, 01 May 2001 01:44:00 -0000 Message-id: References: <3AED9537.D7EBB9BD@cygnus.com> X-SW-Source: 2001-05/msg00001.html On Mon, 30 Apr 2001, Andrew Cagney wrote: > > For ex, let say the prg crashed in function A, then GDB should be able > > to calculate the address of the args to A in the non-debug core. Then, > > finding the function in the debug-compiled library (may be with a little > > help), it should be able to load the defs of the args and show the values > > of each args properly. > > Is there a way to do that, or is this an enhancement to be added or is it > > a totally new idea that nobody thought about before (unlikely I guess) ? > > May be it can not be done ? > > Check the command ``symbol-file'' in the user documentation. It should > do exactly what you want. In what way is this different from "gdb program core"? If the difference is important, I think the manual lacks an explanation of that difference.