Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Kevin Buettner <kevinb@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfc] Return old cleanup when doing a restore_cleanups()
Date: Wed, 15 Aug 2001 08:14:00 -0000	[thread overview]
Message-ID: <3B7A91E1.8050001@cygnus.com> (raw)
In-Reply-To: <1010815003647.ZM30617@ocotillo.lan>

> At the moment, the only caller of restore_cleanups() is
> catch_errors(), so the assert could just as easily go in
> restore_cleanups() without causing any more breakage than placing the
> assert in catch_errors().

Oops, didn't notice that detail.

> If all (future) callers of restore_cleanups are supposed to drain the
> cleanup chain first, then I think the assert belongs in
> restore_cleanups().  If you think there might be a good reason to
> violate this rule, then the assert belongs in the caller.  Personally,
> I'd rather see the assert go in restore_cleanups() until someone can
> demonstrate a good reason for not draining the cleanup chain.

Yes, it is more being convinced that having the assertion there won't 
mysteriously break something ... :-/

I guess we're sufficiently early in the 5.2 release cycle to do it the 
right way.  I'll suck it and see.

Patch withdrawn.

	Andrew



      reply	other threads:[~2001-08-15  8:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 12:28 Andrew Cagney
2001-08-14 17:37 ` Kevin Buettner
2001-08-15  8:14   ` Andrew Cagney [this message]

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=3B7A91E1.8050001@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@cygnus.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