Unhandled exceptions on Linux

Stéphan Kochen stephan at kochen.nl
Tue Aug 21 10:11:50 PDT 2007


Nathan Reed schreef:
> I'm not extremely familiar with GDB scripting either, but presumably the size of the routine won't change very much, so would it let you write the address as "_d_throw at 4 + n" where n is an integer constant?  Disassembling libphobos2.a shows the address of the last instruction as offset 0x214 from the beginning of the function.

That does help a bit, yes:

(gdb) print '_d_throw at 4' + 0x214
$1 = (<text variable, no debug info> *) 0x8069558 <_d_throw at 4+532>
(gdb) break *$
Breakpoint 2 at 0x8069558

Thanks! More suggestions welcome, of course. :)

-- Stéphan



More information about the Digitalmars-d mailing list