This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: RedHat Advanced Server 3 and thread debugging


> Date: Mon, 19 Sep 2005 14:13:39 -0400
> From: Paul Koning <pkoning@equallogic.com>
> 
>  David> "Ajay Patel wrote:"
>  >> David,
>  >> 
>  >> GDB is broken for statically linked application.  No body has
>  >> bothered to fix this.
> 
>  David> Has the platform/tool world silently decided not to support
>  David> static builds?  
> 
> I think Ajay is confused.  Debugging statically linked applications
> works just fine; if anything, it's the more reliable case since it is
> the simpler case.
> 

Well, that all depends on what version of the Linux kernel you're
running, what version of glibc you're running, and of course what
version of gdb you're using.

It's also important to realize that if you're stripping (parts of)
your binaries, there's simply not enough information left for gdb to
produce meaningful backtraces.  If you use -rdynamic, at least there
is the dynamic symbol table for gdb to use.

Mark


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