This is the mail archive of the gdb@sources.redhat.com 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]

Re: Problem with JEENI jtag module


>>>>> "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

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