Re: [PATCH] solib-svr4.c: Fix set_solib_svr4_fetch_link_map_offsets

Kevin Buettner
2001-09-21T20:14:00Z

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