This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Debugging the debugger
- From: "Atul Talesara" <atul dot talesara at nevisnetworks dot com>
- To: <mkhan at hdaar dot com>, <gdb at sources dot redhat dot com>
- Date: Tue, 1 Mar 2005 16:54:26 +0530
- Subject: RE: Debugging the debugger
> 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.
Regards,
Atul P Talesara
http://the-shaolin.blogspot.com/
----------------------------------------------------------
You can tell more about a person by what he says about
others than you can by what others say about him.
----------------------------------------------------------