Ok, I should have said I am calling the function d.foo(). I think it is perfectly valid in gdb to call a function that does not return anything.
Even if I change void to int and have proper return values. and gdb crashes with Segmentation fault Program received signal SIGSEGV, Segmentation fault. 0x260f8 in foo__5Base2 (this=0xffbff128) at mult_i.c:18 The program being debugged stopped while in a function called from GDB. When the function (foo__5Base2) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). Can anyone confim if this problem is fixed in 6.3. I may want to upgrade to that. Cheers, Deb _______________________________________________ Help-gplusplus mailing list Help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus