[PATCH] solib-svr4.c: Fix set_solib_svr4_fetch_link_map_offsets

Kevin Buettner kevinb@cygnus.com
Fri Sep 21 20:14:00 GMT 2001


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



More information about the Gdb-patches mailing list