From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25138 invoked by alias); 16 Oct 2006 09:16:02 -0000 Received: (qmail 25127 invoked by uid 22791); 16 Oct 2006 09:16:01 -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; Mon, 16 Oct 2006 09:15:55 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GZOZd-00036v-VV; Mon, 16 Oct 2006 05:15:54 -0400 Date: Mon, 16 Oct 2006 09:16:00 -0000 From: Daniel Jacobowitz To: Turny =?iso-8859-1?Q?D=E1vid?= Cc: gdb@sourceware.org Subject: Re: "cannot find bounds of current function" Message-ID: <20061016091553.GA11904@nevyn.them.org> Mail-Followup-To: Turny =?iso-8859-1?Q?D=E1vid?= , gdb@sourceware.org References: <20061016030519.w4313106s8ocwg4w@www.stud.u-szeged.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20061016030519.w4313106s8ocwg4w@www.stud.u-szeged.hu> 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-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00110.txt.bz2 On Mon, Oct 16, 2006 at 03:05:19AM +0200, Turny Dávid wrote: > I like to debug a C program which I compile using gcc > for > ARM target. I use these arguments: > -march=armv4t -mcpu=arm7tdmi -g -gdwarf-2 -EL > When I try to execute the "step" or the "next" > instruction > with the gdb, then I got this message: > "cannot find bounds of current function" > There is no function in my program except the main(). > The "list" instruction is OK. I can see my C code. > How can I execute the next instruction? What I have to > do? This means you are not yet in a function the debugger knows about. Try "break main" "continue"? -- Daniel Jacobowitz CodeSourcery