Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Move printing of TLS related error messages to dwarf2loc.c
Date: Thu, 10 Mar 2005 20:43:00 -0000	[thread overview]
Message-ID: <20050310134329.3f49137d@ironwood.lan> (raw)
In-Reply-To: <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


  reply	other threads:[~2005-03-10 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07 23:54 Kevin Buettner
2005-02-21 20:19 ` Kevin Buettner
2005-03-09 20:16 ` Kevin Buettner
2005-03-09 20:20 ` Daniel Jacobowitz
2005-03-10 20:43   ` Kevin Buettner [this message]
2005-03-10 20:41 ` Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050310134329.3f49137d@ironwood.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox