Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [users/palves/catch_exceptions] [PATCH] zap catch_exceptions (Re: [RFA] Change exceptions.h functions to use gdb::function_view)
Date: Thu, 28 Sep 2017 09:13:00 -0000	[thread overview]
Message-ID: <a2bc964f-7ca3-d681-a059-c577d2528afc@redhat.com> (raw)
In-Reply-To: <87zi9finni.fsf@tromey.com>

On 09/28/2017 03:04 AM, Tom Tromey wrote:
> Pedro> Alright, I've pushed this patch below on the branch as well.  It
> Pedro> gets rid of catch_exceptions / catch_exceptions_with_msg.  The
> Pedro> latter is done mostly by getting rid of the remaining vestigial libgdb
> Pedro> wrapper functions, which are really pointless nowadays.  This results in
> Pedro> a good number of simplifications.
> 
> Thanks for doing this.  I'd started earlier, and did the catch_errors
> part, but I saw your mail before I finished; and I think your patch is a
> bit cleaner anyway.

Sorry about that.  :-/  I only did it because I thought you wouldn't
be able to...  Here's what happened on IRC:

 <tromey> thanks for the review palves 
 <tromey> it may be a while before I get to that [snip]
 <-- tromey has left this server
 <palves> tromey: ack.  I'm tired so I'm using that as procrastination :-P  i'm eliminating catch_errors using TRY/CATCH.  will show what it looks like in a bit.
 <palves> this exposes lots of cleanup opportunity.
 <palves> err, ENOTROMEY...

:-P

> I think my MI cleanup branch (still pending review) also touched these
> vestigial libgdb functions, but I don't mind rebasing that when the time
> comes.

I'll take a look at that.

Thanks,
Pedro Alves


  reply	other threads:[~2017-09-28  9:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 16:53 [RFA] Change exceptions.h functions to use gdb::function_view Tom Tromey
2017-09-27 19:43 ` Pedro Alves
2017-09-27 20:26   ` Tom Tromey
2017-09-27 22:37     ` Pedro Alves
2017-09-28  0:02       ` [users/palves/catch_exceptions] [PATCH] zap catch_exceptions (Re: [RFA] Change exceptions.h functions to use gdb::function_view) Pedro Alves
2017-09-28  2:04         ` Tom Tromey
2017-09-28  9:13           ` Pedro Alves [this message]
2017-09-28 19:53             ` Tom Tromey

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=a2bc964f-7ca3-d681-a059-c577d2528afc@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.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