From: Tom Tromey <tromey@redhat.com>
To: Robert Lupton the Good <rhl@astro.princeton.edu>
Cc: gdb@sourceware.org
Subject: Re: catching specific exceptions
Date: Tue, 15 Nov 2011 14:57:00 -0000 [thread overview]
Message-ID: <m3wrb1o2lr.fsf@fleche.redhat.com> (raw)
In-Reply-To: <DF275F7B-3B0F-42C5-BE44-8D287EA8338B@astro.princeton.edu> (Robert Lupton the Good's message of "Fri, 11 Nov 2011 15:10:34 -0500")
>>>>> "Robert" == Robert Lupton the Good <rhl@astro.princeton.edu> writes:
Robert> The online help (gdb 7.3) says:
>> Raised exceptions may be caught:
>> catch throw - all exceptions, when thrown
>> catch throw <exceptname> - a particular exception, when thrown
>> catch catch - all exceptions, when caught
>> catch catch <exceptname> - a particular exception, when caught
Robert> But I don't think that this works, and the manual doesn't mention the
Robert> <exceptname> version (instead delving into the gcc specifics of
Robert> __raise_exception to achieve the same functionality).
Robert> So either there's a bug in the help, or in the manual, or both.
This feature was documented but never implemented.
I think it would be a good feature to have. Here's the bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=9598
Tom
prev parent reply other threads:[~2011-11-15 14:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-11 20:11 Robert Lupton the Good
2011-11-15 14:57 ` Tom Tromey [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=m3wrb1o2lr.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=rhl@astro.princeton.edu \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).