This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "cannot find bounds of current function"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]