On Fri, 11 Feb 2005 13:11:31 +0100, Karsten Baumgarten 
> 
> Can you show us how you have compiled the program? I tried to reproduce
> this on my box (GCC 3.4, GDB 6.0) and it works as expected (that is,
> what I expected, not what you experienced ;) )

The funny thing is it works perfect on most boxen. It just doesn't
seem to work on mine. I've sent my query to the GDB ML.

I compiled the program like this:
$ g++ x.cc -g

I invoked GDB like this:
$ gdb ./a.out

Thanks,

Hareesh

--
[email protected] mailing list

Reply via email to