This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: problems loading shared libraries - with attached test case
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: problems loading shared libraries - with attached test case
- From: Christopher Blizzard <blizzard at mozilla dot org>
- Date: Wed, 05 Apr 2000 19:01:01 -0400
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: All Mozilla, all the time.
- References: <38DFD84E.9F330EC1@mozilla.org> <38E2D221.ADC270BF@mozilla.org> <npog7rxfke.fsf@zwingli.cygnus.com> <38E95507.FDD4C527@mozilla.org> <npk8icwars.fsf@zwingli.cygnus.com>
Jim Blandy wrote:
>
> > Good point, I missed that case. Damn. Thanks for spending the time on
> > this, Jim.
> >
> > While we're talking about this I've noticed a behavior change with
> > respect to the way the "info sharedlibrary" command works. It now
> > forces all the shared libraries to load which is bad(tm). I've done
> > that a few times and had to kill gdb after it sucked up a couple hundred
> > meg of memory. :)
>
> Oy! Try this:
>
> 2000-04-05 Jim Blandy <jimb@redhat.com>
>
> * solib.c (update_solib_list): New function.
> (solib_add): Call update_solib_list, and then read symbols.
> (info_sharedlibrary_command): Call update_solib_list, not
> solib_add.
Yep, works fine now. Thanks!
--Chris
--
------------
Christopher Blizzard
http://people.redhat.com/blizzard/
I don't think I'm alone when I say I'd like to see more and more
planets fall under the ruthless domination of our solar system.
------------