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: libpthread.so -g??


It says:
No executable file.

what does that mean??
On Mon, 05 Feb 2001, you wrote:
> Mathieu Dube wrote:
> > 
> > Hi,
> >         is libpthread supposed to be compiled with -g flag?
> > Coz my app crashes and gdb outputs 0x43d454 in ?? () and since all my
> > files are compiled with -g and that I also recompiled the postgres API with -g
> > in the CFLAGS
> >         The only other .so that Im using is pthread so I wondering if it
> > crashes somewhere in there...
> >         So should gdb be able to get symbol from libpthread ??
> > 
> 
> Stop your program with a breakpoint at main and try "info shared".
> 
> This should give you the range of addresses where each shared library
> is loaded (as "info file" will tell you where your executable sections 
> are).
> 
> 
> -- 
> Fernando Nasser
> Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
> 2323 Yonge Street, Suite #300
> Toronto, Ontario   M4P 2C9
-- 
Mathieu Dube	
Mondo-Live			
www.flipr.com

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