From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8221 invoked by alias); 10 Mar 2005 20:43:22 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8151 invoked from network); 10 Mar 2005 20:43:19 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 10 Mar 2005 20:43:19 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1D9UV1-00052I-Nl for ; Thu, 10 Mar 2005 15:43:15 -0500 Date: Thu, 10 Mar 2005 20:43:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFC] Move printing of TLS related error messages to dwarf2loc.c Message-ID: <20050310204315.GA19266@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20050310133357.4f9daa6e@ironwood.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050310133357.4f9daa6e@ironwood.lan> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00174.txt.bz2 On Thu, Mar 10, 2005 at 01:33:57PM -0700, Kevin Buettner 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. Looks plausible to me. -- Daniel Jacobowitz CodeSourcery, LLC