This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] solib-svr4.c: Fix set_solib_svr4_fetch_link_map_offsets
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [PATCH] solib-svr4.c: Fix set_solib_svr4_fetch_link_map_offsets
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Fri, 21 Sep 2001 20:13:40 -0700
- Cc: gdb-patches at sources dot redhat dot com
- References: <1010920205607.ZM17368@ocotillo.lan> <3BABF816.9040308@cygnus.com>
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