From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14406 invoked by alias); 9 Mar 2005 20:20:53 -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 14345 invoked from network); 9 Mar 2005 20:20:47 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 9 Mar 2005 20:20:47 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1D97ff-0007jP-1L; Wed, 09 Mar 2005 15:20:43 -0500 Date: Wed, 09 Mar 2005 20:20:00 -0000 From: Daniel Jacobowitz To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Move printing of TLS related error messages to dwarf2loc.c Message-ID: <20050309202042.GA29657@nevyn.them.org> Mail-Followup-To: Kevin Buettner , gdb-patches@sources.redhat.com References: <20050207144536.1c5fc1b7@ironwood.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050207144536.1c5fc1b7@ironwood.lan> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00156.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery, LLC