Breaking exceptions before stack unwind
Daniel Jacobowitz
drow@false.org
Fri Nov 19 03:13:00 GMT 2004
On Wed, Nov 17, 2004 at 03:22:38PM -0800, Chris Stankevitz wrote:
>
> Hi Daniel, thanks for your help.
>
> >You didn't say what your target is, or what your compiler is, or what
> >your version of GDB is.
>
> i686 athlon
> g++ (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
> GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
>
> >> U __cxa_begin_catch@@CXXABI_1.2
> >
> >I recommend you try the GDB command "catch throw".
>
> Hmph...
>
> (gdb) catch throw
> Function "__cxa_throw" not defined.
It's in libstdc++; with your old version of GDB, you can't set
breakpoints in shared libraries until they've been loaded. Try a newer
version, or do it after "set stop-on-solib-events 1; run".
--
Daniel Jacobowitz
More information about the Gdb
mailing list