Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to load only selected libraries?
@ 2008-01-20 22:37 Srinath Avadhanula
  2008-01-21  3:16 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Srinath Avadhanula @ 2008-01-20 22:37 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-26 23:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-20 22:37 How to load only selected libraries? Srinath Avadhanula
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox