From: "Srinath Avadhanula" <srinathava@gmail.com>
To: gdb@sourceware.org
Subject: How to load only selected libraries?
Date: Sun, 20 Jan 2008 22:37:00 -0000 [thread overview]
Message-ID: <ed97310c0801201437h31d837dbt474c15074d1f6633@mail.gmail.com> (raw)
Hi,
Is it possible to have GDB only load selected libraries? I know about doing
set auto-solib-add off
and then following it up with
sha foolib
However, what I would really like is something like
set auto-solib-regexp <regexp>
And then have GDB only (automatically) load libraries which match the
<regexp>. The problem with 'sha <regexp>' of course is that its not
automatic. I have to interrupt the program after ensuring that the
library is loaded.
I am using gdb-6.9-40-debian. Is such a feature available in a newer version?
Thanks,
Srinath
next reply other threads:[~2008-01-20 22:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-20 22:37 Srinath Avadhanula [this message]
2008-01-21 3:16 ` Daniel Jacobowitz
2008-01-21 18:56 ` Jim Ingham
2008-01-26 14:53 ` Srinath Avadhanula
2008-01-26 23:52 ` Jim Ingham
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=ed97310c0801201437h31d837dbt474c15074d1f6633@mail.gmail.com \
--to=srinathava@gmail.com \
--cc=gdb@sourceware.org \
/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