This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: catch-throw conditions?


On Fri, Feb 22, 2008 at 6:24 AM, Daniel Jacobowitz <drow@false.org> wrote:
> On Fri, Feb 22, 2008 at 09:19:40AM -0500, Daniel Jacobowitz wrote:
>  > "help catch", unfortunately, is incorrect :-(
>  >
>  > IIRC this was implemented for HP aCC.  The GNU support does not (yet)
>  > handle an exceptname.
>
>  ... But if someone is interested, this would not be a huge project.
>  Ada already supports something similar.

Ok if I add something like the following to the ProjectIdeas page?
[what are the rules for editing the wiki btw?]

C++
 * Implement catching of specific exceptions.
   Currently GDB does not support specifying a catchpoint for a
particular exception.
   "catch catch" and "catch throw" work, but "catch catch exception_name"
   and "catch throw exception_name" do not.

[or some such]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]