This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problem with JEENI jtag module
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: Problem with JEENI jtag module
- From: jtc at redback dot com (J.T. Conklin)
- Date: 19 Jan 2001 11:16:05 -0800
- Cc: "joel" dot brenner at tchip dot com, gdb at sources dot redhat dot com
- References: <3A681AAB.BF02130@tchip.com> <3A68739D.B6263E4@cygnus.com>
- Reply-To: jtc at redback dot com
>>>>> "Fernando" == Fernando Nasser <fnasser@cygnus.com> writes:
Fernando> The sequence to download a program is:
Fernando> (gdb) file YOURFILENAME
Fernando> (gdb) load
Fernando> Only after the load command your executable will be in the
Fernando> board memory and the PC will be set to your program entry
Fernando> point (and the stack pointer to the stack etc.).
Does load really set the stack pointer? I thought that was typically
done in the c startup code, along with clearing the bss and moving
initialized data from ROM to RAM.
--jtc
--
J.T. Conklin
RedBack Networks