From: Joel Brobecker <brobecker@adacore.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: introduce scoped cleanups
Date: Fri, 31 May 2013 06:11:00 -0000 [thread overview]
Message-ID: <20130531061135.GA12363@adacore.com> (raw)
In-Reply-To: <87ppw8qlgl.fsf@fleche.redhat.com>
> Pedro said he was interested in general stack-based allocation of
> cleanups, so I implemented that, following his plan.
Is this purely for performance?
> Second, like the previous iteration of the patch, this adds a "scoped"
> cleanup that can be used to do runtime error-checking of cleanup use.
> This checking only works when gdb is compiled with gcc.
>
> I converted linespec.c entirely to the new setup, just to show what it
> looks like.
Looks pretty nice, I'd say!
--
Joel
next prev parent reply other threads:[~2013-05-31 6:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-09 18:56 Tom Tromey
2013-05-30 20:09 ` Tom Tromey
2013-05-31 6:11 ` Joel Brobecker [this message]
2013-05-31 15:56 ` Tom Tromey
2013-05-31 16:15 ` Pedro Alves
2013-05-31 20:24 ` Tom Tromey
2013-06-03 6:07 ` Joel Brobecker
2013-06-05 17:44 ` Tom Tromey
2013-07-16 20:33 ` 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=20130531061135.GA12363@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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