This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: "cannot find bounds of current function"
- From: Daniel Jacobowitz <drow at false dot org>
- To: Turny Dávid <Turny dot David at stud dot u-szeged dot hu>
- Cc: gdb at sourceware dot org
- Date: Mon, 16 Oct 2006 05:15:53 -0400
- Subject: Re: "cannot find bounds of current function"
- References: <20061016030519.w4313106s8ocwg4w@www.stud.u-szeged.hu>
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