From: William Trenker <wdtrenker@yahoo.ca>
To: gdb@sources.redhat.com
Subject: Newbie asks about .so libraries
Date: Wed, 29 Jan 2003 16:53:00 -0000 [thread overview]
Message-ID: <20030129085049.25d160b2.wdtrenker@yahoo.ca> (raw)
Here's a basic question. Can gdb/insight debug code from .so files?
I have a library, compiled with debug information, and a main program, also with debug info. If I start gdb with the main program, does gdb automatically dig up the debug info from any .so libraries used by the main program? Can I set breakpoints on the source code in the .so file?
Or do I have to link statically for debugging purposes?
Thanks,
Bill
next reply other threads:[~2003-01-29 16:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-29 16:53 William Trenker [this message]
2003-01-29 17:16 ` Daniel Jacobowitz
2003-01-29 22:03 ` Bennett F. Dill
2003-01-29 22:44 ` Jim Blandy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030129085049.25d160b2.wdtrenker@yahoo.ca \
--to=wdtrenker@yahoo.ca \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox