This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problems loading shared libraries - with attached test case


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.
------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]