[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can't catch exceptions running gdb 5.1 on RH Linux
From: |
Michael C. Vanier |
Subject: |
can't catch exceptions running gdb 5.1 on RH Linux |
Date: |
25 Nov 2001 19:47:53 -0800 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- can't catch exceptions running gdb 5.1 on RH Linux,
Michael C. Vanier <=