This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.
cheers Ramana
-- Ramana Radhakrishnan GNU Tools codito ergo sum (www.codito.com)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |