This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: "cannot find bounds of current function"
- From: Michael Snyder <Michael dot Snyder at palmsource dot com>
- 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 19:37:00 -0700
- Subject: Re: "cannot find bounds of current function"
- References: <20061016030519.w4313106s8ocwg4w@www.stud.u-szeged.hu>
On Mon, 2006-10-16 at 03:05 +0200, Turny DÃvid wrote:
> Hi,
>
> 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
Hold on -- need a little more context.
What did you do, and what was the state,
*before* you tried to execute a "step" or "next"?
Is this a remote target? Native? Were you in "main"?
> 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?
> Please somebody help me! Thanks!
>
> David
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>