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] solib-svr4.c: Fix set_solib_svr4_fetch_link_map_offsets


On Sep 21, 10:31pm, Andrew Cagney wrote:

> Instead of having a global variable, have you looked at registering a 
> data pointer and then calling set_gdbarch_data(), from 
> set_solib_svr4_fetch_link_map_offsets(), to set it?

Well, I thought I had, but now that I look at it again, it does look
like this'll work.  I'll give it a try...

> The only potential problem I can see with this is with non- multi-arch 
> but there, looking at the code I think it is already handled.

I think you're right.

Kevin


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