Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mansoor Ali Khan <mkhan@hdaar.com>
To: gdb@sources.redhat.com
Subject: RE: Debugging the debugger
Date: Tue, 01 Mar 2005 12:13:00 -0000	[thread overview]
Message-ID: <1109679215.12201.34.camel@mansoor> (raw)
In-Reply-To: <7F17177AC9AC2F4CB4A1A33C936D038D0723F4@nevismail01.pune.nevisnetworks.com>

Thanks Atul,

Its exactly what u mentioned. I was using autoconf and was not aware of
the fact that the AC_PROG_CC macro by default enables optimization.

Mansoor.

On Tue, 2005-03-01 at 16:24, Atul Talesara wrote:
> > 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.
> 
> ----------------------------------------------------------
> 
> 


  parent reply	other threads:[~2005-03-01 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01 11:25 Atul Talesara
2005-03-01 11:58 ` Ramana Radhakrishnan
2005-03-01 12:13 ` Mansoor Ali Khan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-01 11:17 Mansoor Ali Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1109679215.12201.34.camel@mansoor \
    --to=mkhan@hdaar.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox