This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Move TLS load module addr fetching to dwarf2loc.c
- From: Ulrich Weigand <uweigand at de dot ibm dot com>
- To: kevinb at redhat dot com (Kevin Buettner)
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 24 Mar 2005 23:27:50 +0100 (CET)
- Subject: Re: [RFC] Move TLS load module addr fetching to dwarf2loc.c
Kevin Buettner wrote:
> The patch below makes that interface change, moves the fetching of the
> TLS load module from linux-thread-db.c to dwarf2loc.c, and adjusts the
> various GNU/Linux targets (except for FRV) so that TLS support is enabled.
> TLS support for GNU/Linux on FRV will be forthcoming -- it uses a
> different shared library mechanism than the other GNU/Linux targets
> and thus requires a separate patch.
[snip]
> * alpha-linux-tdep.c (solib-svr4.h): Include.
> (alpha_linux_init_abi): Register TLS load module fetcher.
> * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
> * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
> * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
> * ia64-linux-tdep.c (solib-svr4.h): Include.
> (ia64_linux_init_abi): Register TLS load module fetcher.
> * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
> * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
> * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
> * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
> * sparc64-linux-tdep.c (solib-svr4.h): Include.
> (sparc64_linux_init_abi): Register TLS load module fetcher.
> * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
> (sparc-linux-tdep.o): Update dependencies.
What about s390? I guess we need the same change ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com