This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb + egcs: break __raise_exception


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  http://dirac.ruc.dk/~gnalle/
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!

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]