Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: mkhan@hdaar.com
Cc: Atul Talesara <atul.talesara@nevisnetworks.com>, gdb@sources.redhat.com
Subject: Re: Debugging the debugger
Date: Tue, 01 Mar 2005 11:58:00 -0000	[thread overview]
Message-ID: <422458B0.5040109@codito.com> (raw)
In-Reply-To: <7F17177AC9AC2F4CB4A1A33C936D038D0723F4@nevismail01.pune.nevisnetworks.com>

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)


  reply	other threads:[~2005-03-01 11:58 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 [this message]
2005-03-01 12:13 ` Mansoor Ali Khan
  -- 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=422458B0.5040109@codito.com \
    --to=ramana.radhakrishnan@codito.com \
    --cc=atul.talesara@nevisnetworks.com \
    --cc=gdb@sources.redhat.com \
    --cc=mkhan@hdaar.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