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]
Other format: [Raw text]

Re: [RFA/hpux] SEGV when running program using dlopen


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


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