This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Move printing of TLS related error messages to dwarf2loc.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 9 Mar 2005 15:20:43 -0500
- Subject: Re: [RFA] Move printing of TLS related error messages to dwarf2loc.c
- References: <20050207144536.1c5fc1b7@ironwood.lan>
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