From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] solib-svr4.c: Fix set_solib_svr4_fetch_link_map_offsets Date: Fri, 21 Sep 2001 20:14:00 -0000 Message-id: <1010922031340.ZM19859@ocotillo.lan> References: <1010920205607.ZM17368@ocotillo.lan> <3BABF816.9040308@cygnus.com> X-SW-Source: 2001-09/msg00297.html 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