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 todwarf2loc.c
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Mar 2005 13:43:29 -0700
- Subject: Re: [RFA] Move printing of TLS related error messages todwarf2loc.c
- Organization: Red Hat
- References: <20050207144536.1c5fc1b7@ironwood.lan><20050309202042.GA29657@nevyn.them.org>
On Wed, 9 Mar 2005 15:20:43 -0500
Daniel Jacobowitz <drow@false.org> 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