The documentation for gdb 5.1 seems to have a bug.  It suggests that
typing:

  catch throw

will catch all exceptions as they're being thrown.  If you do this on
Linux, you get:

(gdb) catch throw
warning: Unsupported with this platform/compiler combination.
warning: Perhaps you can achieve the effect you want by setting
warning: a breakpoint on __raise_exception().

OK, fine.  If you then do:

(gdb) break __raise_exception
Function "__raise_exception" not defined.
(gdb) 
 
This is using gcc/g++ 3.0.2.  Is there a way to catch exceptions on
Linux using gcc 3.0.2?

Thanks,

Mike

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to