This is the mail archive of the gdb@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: [hercules@lokigames.com: GDB shared library problems (test case)]


On Fri, Feb 04, 2000 at 09:58:24PM +0100, Mark Kettenis wrote:
>    Date: Fri, 4 Feb 2000 12:40:09 -0800
>    From: "H . J . Lu" <hjl@lucon.org>
> 
> HJ,
> 
> Looks like Sam sent you a test case.  Could you post that here too?
> I'm not convinced that adding yet another hook to infrun.c is the
> right solution, so I'd like to take a closer look if Jim doesn't mind.
> It might be useful to have a rgeression test for this problem too.
> 

Here it is. BTW, I forwarded another patch from Sam:

Wed Mar 17 19:49:22 1999  Sam Lantinga (slouken@devolution.com)

        Added function check_solib_consistency() to reload list of 
        shared objects when they are added or deleted. This fixed
        crashing when the program being debugged unloaded a dynamic 
        library and added a new library afterwards.

        * solib.h (CHECK_SOLIB_CONSISTENCY): New.
        (check_solib_consistency): New prototype.

        * solib.c (check_solib_consistency): Defined.

        * infrun.c (handle_inferior_event): Before calling SOLIB_ADD (),
        call CHECK_SOLIB_CONSISTENCY () if defined.

a while ago:

http://sourceware.cygnus.com/ml/gdb/1999-q4/msg00175.html

What happened to it?


H.J.

sotest.tar.gz


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