This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb + egcs: break __raise_exception
- To: gnalle at dirac dot ruc dot dk
- Subject: Re: gdb + egcs: break __raise_exception
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Tue, 5 Sep 2000 16:41:56 +0200 (MET DST)
- CC: gdb at sourceware dot cygnus dot com
- References: <7wr96zt9fu.fsf@dirac.ruc.dk>
From: Niels L Ellegaard <gnalle@dirac.ruc.dk>
Date: 05 Sep 2000 12:33:25 +0200
I am using gdb to debug a program compiled by egcs-2.91.66, and I
would like to do the following:
To make the debugger catch all exceptions before any stack unwinding
takes place, set a breakpoint on __raise_exception (see section
Breakpoints, watchpoints, and exceptions).
I can easily break at other functions, but when I try to break at
__raise_exception I get the following problem:
(gdb) break __raise_exception
Function "__raise_exception" not defined.
I would be most greatful for any help.
GDB cannot find the symbol "__raise_exception" in the executable. Did
you verify (for example with `nm') that the executable does contain
such a symbol?
Mark