From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24038 invoked by alias); 22 Feb 2007 12:27:33 -0000 Received: (qmail 24025 invoked by uid 22791); 22 Feb 2007 12:27:33 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 22 Feb 2007 12:27:27 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HKD2i-00019A-KW; Thu, 22 Feb 2007 07:27:24 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HKD2h-0006f5-Ul; Thu, 22 Feb 2007 07:27:23 -0500 Date: Thu, 22 Feb 2007 13:13:00 -0000 From: Daniel Jacobowitz To: Colin MacDonald Cc: gdb@sourceware.org Subject: Re: Unable to step over functions in arm-elf binary Message-ID: <20070222122723.GA25514@caradoc.them.org> Mail-Followup-To: Colin MacDonald , gdb@sourceware.org References: <457270.37713.qm@web26715.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <457270.37713.qm@web26715.mail.ukl.yahoo.com> User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2007-02/txt/msg00232.txt.bz2 On Thu, Feb 22, 2007 at 11:48:53AM +0000, Colin MacDonald wrote: > We have .elf targets for Arm processors and we can debug these via a remote connection (using the remote serial protocol) with Insight / GDB. Everything works fine except for one thing: I can't step over a function. If I try to step over a function I invariably step into it instead. Using the 'n' command from GDB command line generates a sequence remote serial commands like this: You didn't say what version of GDB you're using. Try a newer one? It sounds like yours fails to backtrace after stepping in to a function. -- Daniel Jacobowitz CodeSourcery