This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Move printing of TLS related error messages todwarf2loc.c
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 18 Mar 2005 14:05:38 -0700
- Subject: Re: [RFC] Move printing of TLS related error messages todwarf2loc.c
- Organization: Red Hat
- References: <20050310133357.4f9daa6e@ironwood.lan>
On Thu, 10 Mar 2005 13:33:57 -0700
Kevin Buettner <kevinb@redhat.com> wrote:
> * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
> * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
> (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
> New error/exception enums.
> * dwarf2loc.c (exceptions.h): Include.
> (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
> via TRY_CATCH mechanism. Print error messages for TLS related
> exceptions.
> * linux-thread-db.c (thread_db_get_thread_local_address): Throw
> exceptions instead of printing errors.
Committed.
Kevin