gdb + egcs: break __raise_exception

Niels L Ellegaard
Tue Sep 5 03:56:00 GMT 2000

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.

btw::~> gdb -version
GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
This GDB was configured as "i486-pc-linux-gnu".

Niels L Ellegaard
SPECIAL OFFER! I proofread unsolicited commercial email sent to this
address at a rate of US $500.00 per incident!  Include billing address
in your message and save US $500.00 per hour off ordinary address
resolution and tracking charge!

More information about the Gdb mailing list