Re: Regarding shared library and GDB



On Sep 27, 11:03 am, sunil <sunil....@xxxxxxxxx> wrote:
Hi,

Am interested to debug one shared library using GDB.This shared
libarry is used by a binary (for which i doesn't have the code).I am
aware about at what point of time the library will be called.
Can i debug that library iusing GDB.If yes please let me know the
steps how to proceed further.

Regards
Sunil.


hi
afaik, you can't properly debug it until you'll have this library
compiled with debug info.

.



Relevant Pages

  • Re: Regarding shared library and GDB
    ... libarry is used by a binary.I am ... Can i debug that library iusing GDB.If yes please let me know the ... you can't properly debug it until you'll have this library ... executing the library. ...
    (comp.os.linux.development.apps)
  • Re: Generating call stack with local symbols
    ... deploy a full debug build, ... use a build with only symbols info but without full debug info? ... stack info with all parameters and values without deploying a full debug ... is examining core files generated from your application ...
    (comp.unix.solaris)
  • Re: Better pagecache statistics ?
    ... thing (mostly for debug). ... > 2) not all the concepts you mention really exist as far as the kernel is ... I'm concerned about the performance impact (eg you can ... > debug info will in itself impact the vm balances) ...
    (Linux-Kernel)
  • Re: Delphi strategy against Lazarus
    ... perceived by Delphi users who are used to a compiler that does ... not add debug info to the executable. ... the GNU linker to strip any debug info. ...
    (borland.public.delphi.non-technical)
  • Re: [PATCH] Kbuild: generate debug info in building
    ... The separate debug files are in .debug under building tree. ... The debug info files are important to some kernel tracing/debug tools, for example systemtap, crashdumps, etc. ... +debug_info: vmlinux FORCE ...
    (Linux-Kernel)