From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24437 invoked by alias); 1 Mar 2005 11:25:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23921 invoked from network); 1 Mar 2005 11:24:33 -0000 Received: from unknown (HELO mail.pune.nevisnetworks.com) (203.124.166.179) by sourceware.org with SMTP; 1 Mar 2005 11:24:33 -0000 Received: from nevismail01.pune.nevisnetworks.com (nevismail01.pune.nevisnetworks.com [192.168.2.9]) by mail.pune.nevisnetworks.com (8.12.8/8.12.8) with ESMTP id j21BORja008405 for ; Tue, 1 Mar 2005 16:54:27 +0530 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Debugging the debugger Date: Tue, 01 Mar 2005 11:25:00 -0000 Message-ID: <7F17177AC9AC2F4CB4A1A33C936D038D0723F4@nevismail01.pune.nevisnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Atul Talesara" To: , X-SW-Source: 2005-03/txt/msg00004.txt.bz2 > 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.=20 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/=20 ----------------------------------------------------------=20 You can tell more about a person by what he says about others than you can by what others say about him. ----------------------------------------------------------