From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9194 invoked by alias); 10 Mar 2005 20:43:45 -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 8837 invoked from network); 10 Mar 2005 20:43:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 10 Mar 2005 20:43:41 -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 j2AKheq4031589 for ; Thu, 10 Mar 2005 15:43:40 -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 j2AKhZn12062 for ; Thu, 10 Mar 2005 15:43:35 -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 j2AKhZST007260 for ; Thu, 10 Mar 2005 15:43:35 -0500 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id j2AKhUSB032758 for ; Thu, 10 Mar 2005 13:43:30 -0700 Date: Thu, 10 Mar 2005 20:43: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: <20050310134329.3f49137d@ironwood.lan> In-Reply-To: <20050309202042.GA29657@nevyn.them.org> References: <20050207144536.1c5fc1b7@ironwood.lan> <20050309202042.GA29657@nevyn.them.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00176.txt.bz2 On Wed, 9 Mar 2005 15:20:43 -0500 Daniel Jacobowitz wrote: > On Mon, Feb 07, 2005 at 02:45:36PM -0700, Kevin Buettner wrote: > > + { > > + struct get_thread_local_address_args args; > > + struct exception ex; > > + int objfile_is_library = (debaton->objfile->flags & OBJF_SHARED); > > + > > + args.ptid = inferior_ptid; > > + args.objfile = debaton->objfile; > > + args.offset = offset; > > + > > + ex = catch_exception (uiout, get_thread_local_address, &args, > > + RETURN_MASK_ALL); > > Would you mind redoing this using the new TRY_CATCH? It's ever so much > more readable. You're right. It is more readable. See: http://sources.redhat.com/ml/gdb-patches/2005-03/msg00171.html Kevin