This is the mail archive of the gdb-patches@sources.redhat.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: [PATCH RFA] solib-svr4.c patch for dynamic executables


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

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