From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6804 invoked by alias); 10 Mar 2005 20:41:37 -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 6778 invoked from network); 10 Mar 2005 20:41:33 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 10 Mar 2005 20:41:33 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j2AKfXLI030985 for ; Thu, 10 Mar 2005 15:41:33 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j2AKfXn11504 for ; Thu, 10 Mar 2005 15:41:33 -0500 Received: from localhost.localdomain (vpn50-40.rdu.redhat.com [172.16.50.40]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j2AKfXST006965 for ; Thu, 10 Mar 2005 15:41:33 -0500 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id j2AKfRZt032754 for ; Thu, 10 Mar 2005 13:41:27 -0700 Date: Thu, 10 Mar 2005 20:41:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [RFA] Move printing of TLS related error messages to dwarf2loc.c Message-ID: <20050310134127.43e34d53@ironwood.lan> In-Reply-To: <20050207144536.1c5fc1b7@ironwood.lan> References: <20050207144536.1c5fc1b7@ironwood.lan> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00173.txt.bz2 On Mon, 7 Feb 2005 14:45:36 -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. > (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