Tux's lil' helper
Joined: 12 Jul 2003
|Posted: Wed Apr 27, 2005 4:58 pm Post subject: [SOLVED] gdb printing false information
I sometimes have the problem, that gdb is printing false information about value of some variables.
I have the variable
Now, in gdb I do "display f" and on every "next", it prints tells me, that the value of f is about 3356.2.
But then I step over the following code:
and the programm does not go into the "printf("Big f\n");" command and also does not print "Big f" on the console.
Does anybody have a Idea what could be the reason for this strange behavior?