From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8792 invoked by alias); 24 Jul 2003 14:28:08 -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 8782 invoked from network); 24 Jul 2003 14:28:06 -0000 Received: from unknown (HELO hotmail.com) (64.4.16.91) by sources.redhat.com with SMTP; 24 Jul 2003 14:28:06 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 24 Jul 2003 07:28:05 -0700 Received: from 203.200.20.226 by law11-oe34.law11.hotmail.com with DAV; Thu, 24 Jul 2003 14:28:05 +0000 X-Originating-IP: [203.200.20.226] X-Originating-Email: [mohanlaljangir@hotmail.com] From: "mohanlal jangir" To: Subject: gdb shows source line multiple times before executing !! Date: Thu, 24 Jul 2003 14:28:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 24 Jul 2003 14:28:05.0685 (UTC) FILETIME=[CBED0E50:01C351EF] X-SW-Source: 2003-07/txt/msg00295.txt.bz2 While single stepping with gdb, quite frequently I see sorce lines appearing multiple times i.e. gdb shows some line that will be executed on command "next", but that is actully not. After next "next" command, I see same line appearing. This happens two or three times and then finally that line is executed. gdb --version command gives following output: GNU gdb Red Hat Linux 7.x (5.0rh-15) (MI_OUT) Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux". Regards Mohanlal