From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24918 invoked by alias); 14 May 2008 13:08:39 -0000 Received: (qmail 24910 invoked by uid 22791); 14 May 2008 13:08:39 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 May 2008 13:08:19 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id B291A80002; Wed, 14 May 2008 13:08:17 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 886C080001; Wed, 14 May 2008 13:08:17 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JwGiO-00033E-Ct; Wed, 14 May 2008 09:08:16 -0400 Date: Wed, 14 May 2008 13:08:00 -0000 From: Daniel Jacobowitz To: Jiju George T Cc: gdb@sourceware.org Subject: Re: Problem in using gdb 6.8 to step code in flash Message-ID: <20080514130816.GA11707@caradoc.them.org> Mail-Followup-To: Jiju George T , gdb@sourceware.org References: <00b501c8b5c0$d47ed7d0$390aa8c0@ashmicro.ashling.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <00b501c8b5c0$d47ed7d0$390aa8c0@ashmicro.ashling.com> User-Agent: Mutt/1.5.17 (2008-05-05) 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: 2008-05/txt/msg00111.txt.bz2 On Wed, May 14, 2008 at 01:48:38PM +0100, Jiju George T wrote: >    I checked the difference between these two and fond out that the issue is > caused by the difference in the way sde-gdb and gdb 6.8 does step operation. > SDE GDB issues step(s) command to GDB server where as gdb 6.8 tries to set > breakpoint on next line and issue continue(c) command. Any idea on why the > two gdb variants behave differently for step operation using same GDB > server? How gdb decides what mechanism to be used for stepping operation? Is your GDB configured for mips-linux? The SDE debugger is configured for mips-elf. Try that configuration instead. -- Daniel Jacobowitz CodeSourcery