This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Cleanup fetch_link_map_offsets code
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 26 Apr 2005 16:23:24 -0700
- Subject: Re: [RFA] Cleanup fetch_link_map_offsets code
- Organization: Red Hat
- References: <200504240940.j3O9eKpG015741@elgar.sibelius.xs4all.nl>
On Sun, 24 Apr 2005 11:40:20 +0200 (CEST)
Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> This patch cleans up the link map offsets handling code in
> solib-svr4.c. It gets rid of the deprecated_set_gdbarch_data call.
> It also gets rid of most of the usage of SVR4_FETCH_LINK_MAP_OFFSETS.
> It also removes most of the dance we did to get the legacy link map
> offsets. The way we construct the architecture vectors these days
> means that things can be simplefied considerably.
>
> Tested this on i386-unknown-openbsd3.7, amd64-unknown-openbsd3.7,
> powerpc-unknown-openbsd3.7.
>
> I also tested this on a modified i386-unknown-openbsd3.7 that used the
> solib-legacy.c code.
>
> OK?
Yes, okay. Thanks for doing this!
Kevin