Am Montag, dem 07. Mai 2001 um 22:44:59, schrieb Thomas Guettler:
Ich wuerde gerne wissen wo genau in T.fun...() die Exception auftritt (die Zeile in der das throw() aufgerufen wird).
Alles klar:
twerner@ernie:~$ cat hello.cc int main () { throw 0; return 0; }
twerner@ernie:~$ c++ hello.cc -o hello -g twerner@ernie:~$ gdb hello GNU gdb 19990928 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) b __throw Breakpoint 1 at 0x80484d4 (gdb) r Starting program: /home/twerner/hello Breakpoint 1 at 0x40041f08
Breakpoint 1, 0x40041f08 in __throw () from /usr/lib/libstdc++-libc6.2-2.so.3 (gdb) bt #0 0x40041f08 in __throw () from /usr/lib/libstdc++-libc6.2-2.so.3 #1 0x8048660 in main () at hello.cc:3 (gdb)
Hilfts?
Torsten