This is the mail archive of the
mailing list for the GDB project.
Re: Problem with JEENI jtag module
- To: joel dot brenner at tchip dot com
- Subject: Re: Problem with JEENI jtag module
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 19 Jan 2001 12:04:29 -0500
- CC: gdb at sources dot redhat dot com
- Organization: Red Hat , Inc. - Toronto
- References: <3A681AAB.BF02130@tchip.com>
Joel Brenner wrote:
> I've compiled and linked a litle source-code with option "CFLAGS =
> -DAT91M40400=1 -DAT91EB01=1 -c -g -O2 -mcpu=arm7tdmi". The download of
> arm-elf object-code to target rdi works fine (file downloading with
> "gdb> file elf_filename "), but if I try to start the program gdb (
> insight-5) answers "Cannot find bounds of current function ".
> What I've to do? What I's the problem?
> tanks : Joel Brenner
The sequence to download a program is:
(gdb) file YOURFILENAME
Only after the load command your executable will be in the board memory
and the PC will be set to your program entry point (and the stack pointer
to the stack etc.).
Then you can set a breakpoint somewhere and say:
Red Hat - Toronto E-Mail: email@example.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9