[RFA/hpux] SEGV when running program using dlopen
Randolph Chung
randolph@tausq.org
Wed Dec 15 17:14:00 GMT 2004
> Unfortunately for us, that doesnt' work for __d_trap, as that symbol
> lives in crt0. So lookup_minimal_symbol_solib_trampoline never returns
> any match, and we end up stuck with the non-stub address.
>
> I replaced the above block by a simply ALL_MSYMBOLS loop that simply
> matches the msymbol name before checking for the associated stub type.
> That fixes the problem.
hrm, a question:
since we are already doing this in an ALL_OBJFILES loop, how come we
don't find the right symbol? i also notice that the problem only occurs
when you link in end.o; what does that do?
that kind of a loop exists elsewhere for the hpux target, so i want to
understand this a bit more.
thanks
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
More information about the Gdb-patches
mailing list