[PATCH RFA] solib-svr4.c patch for dynamic executables

Ulrich Drepper drepper@redhat.com
Wed Nov 8 13:26:00 GMT 2000


Jim Blandy <jimb@cygnus.com> writes:

> The comparison of the executable's PC with the new process's PC seems
> fragile to me.  We already know of two cases where this can happen
> (interpreters and dynamic executables); I wonder whether more will
> appear in the future.

Why is it fragile?  This is the same mechanism the ld.so is based on.
It is guaranteed to work.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Gdb-patches mailing list