This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Move printing of TLS related error messages todwarf2loc.c


On Mon, 7 Feb 2005 14:45:36 -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.
> 	(get_thread_local_address_args): New struct.
> 	(get_thread_local_address): New function.
> 	(dwarf_expr_tls_address): Invoke target_get_thread_local_address()
> 	via catch_exception().  Print error messages for TLS related
> 	exceptions.
> 	* linux-thread-db.c (thread_db_get_thread_local_address): Throw
> 	exceptions instead of printing errors.

This patch is superseded by a revised version which uses TRY_CATCH.  See:

    http://sources.redhat.com/ml/gdb-patches/2005-03/msg00171.html

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]