Debugging the debugger
Ramana Radhakrishnan
ramana.radhakrishnan@codito.com
Tue Mar 1 11:58:00 GMT 2005
Hi Mansoor
>>I want to get to the root of the problem. The problem is that when I
>
> run
>
>>my application through gdb, the program flow does not appear to be
>>'normal'. The same statement (line) keeps on repeating multiple times
>>until it finally gets executed.
>
> Best bet is that you have compiled your code with GCC
> optimizations ON(-O1, -O2 or -O3). In which case this
> apparently weird behaviour is completely normal.
The usual reason is as mentioned by Atul in his mail.
In addition it might be better if you posted a complete testcase
for someone else to be able to reproduce the problem at their end.
cheers
Ramana
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
More information about the Gdb
mailing list