From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13355 invoked by alias); 24 Jul 2003 15:53:01 -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 13335 invoked from network); 24 Jul 2003 15:53:01 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 24 Jul 2003 15:53:01 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id IAA13922; Thu, 24 Jul 2003 08:52:56 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma013883; Thu, 24 Jul 03 08:52:42 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h6OFqiF04842; Thu, 24 Jul 2003 08:52:44 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id IAA11404; Thu, 24 Jul 2003 08:52:44 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16160.204.590629.839217@casey.transmeta.com> Date: Thu, 24 Jul 2003 15:53:00 -0000 To: mohanlal jangir cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: gdb shows source line multiple times before executing !! In-Reply-To: <20030724151959.GA7423@nevyn.them.org> References: <3F1FEF06.20507@drexel.edu> <20030724144832.GA326@nevyn.them.org> <20030724151959.GA7423@nevyn.them.org> X-SW-Source: 2003-07/txt/msg00303.txt.bz2 Daniel Jacobowitz writes: > I recommend either not worrying about it, or > looking at the assembly to understand what's going on. It might also help to step through the assembly instead of stepping line-by-line. (gdb) display/i $pc (gdb) stepi [and keep repeating stepi, which will happen if at this point you just keep hitting ]