From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18446 invoked by alias); 7 Jul 2009 10:40:27 -0000 Received: (qmail 18429 invoked by uid 22791); 7 Jul 2009 10:40:26 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_81 X-Spam-Check-By: sourceware.org Received: from smtp.idnet.com (HELO smtp-out.idnet.com) (212.69.36.238) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 10:40:17 +0000 Received: from localhost (unknown [127.0.0.1]) by smtp-out.idnet.com (Postfix) with ESMTP id 2BA242D725A for ; Tue, 7 Jul 2009 10:40:14 +0000 (UTC) Received: from smtp-out.idnet.com ([127.0.0.1]) by localhost (smtp-out.idnet.com [127.0.0.1]) (amavisd-new, port 10040) with LMTP id UqkYU8EO2muB for ; Tue, 7 Jul 2009 11:40:10 +0100 (BST) Received: from mail.idnet.net.uk (mail.idnet.net.uk [212.69.36.63]) by smtp-out.idnet.com (Postfix) with ESMTP id C76FD2D7306 for ; Tue, 7 Jul 2009 11:40:10 +0100 (BST) Received: from [91.135.5.64] by mail.idnet.net.uk (GMS 15.02.3689/NU3963.00.7ca42f0c) with ESMTP id ztyhjvba for gdb@sourceware.org; Tue, 7 Jul 2009 11:40:06 +0100 Subject: Re: Re:next From: Jeremy Bennett Reply-To: jeremy.bennett@embecosm.com To: "nagaraju.m" Cc: gdb@sourceware.org In-Reply-To: <4A4DFA77.60707@redpinesignals.com> References: <4A4DFA77.60707@redpinesignals.com> Content-Type: text/plain Date: Tue, 07 Jul 2009 10:40:00 -0000 Message-Id: <1246963207.2548.4.camel@thomas> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AuthenticatedSender: jeremy.bennett.embecosm.com@idnet.net.uk X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00041.txt.bz2 On Fri, 2009-07-03 at 18:02 +0530, nagaraju.m wrote: > I am new new to gdb. Thanks for the useful information that you provided. > I have tried as you suggested, i checked function prologue but it is defined properly. > > In my code "step", "stepi" and "continue" are behaving normally. > > "next" issue is not only with my target it is with simulator also. > > When i debugged it with gdb it is behaving correctly up to > > "*if(!frame_id_eq (get_frame_id (get_current_frame ()), step_frame_id) > && frame_id_eq (frame_unwind_id (get_current_frame ()), step_frame_id))*" > this condition in infrun file in gdb. After this *start* and *end* points are changing as a result it is simply single stepping. > > I am not able to trace the issue for here... > > Can you please show me the path to resolve this issue... Hi Nagaraju, This is the test for whether the code is stepping into a function. Could you post the output when you run "next" after "set debug infrun 1". The suspicion is that your frame unwinder is not working correctly. HTH, Jeremy -- Tel: +44 (1590) 610184 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@embecosm.com Web: www.embecosm.com