
Dear "MrGates",
please always keep the mailing list on cc:
In message D9D3B66C8A5547E0BA21713B70C8E8A8@Microsoft you wrote:
These indicate that in start.S,first instruction:b reset not jump success
What do you mean by that statement?
I am sorry that i have no clear. I mean that "b reset"statement does not jump to the lable reset at line 104 of start.S correctly.
If you want to execute machine instructions one by one you should use "stepi" instead of "step".
The process just go from one instruction to the next.
You are running series of "step" commands - you are asking the debugger to "go from one instruction to the next", and this is what it does. What else would you expect?
Maybe i misunderstand the use of "step" command of arm-linux-gdb. I want gdb to simulate the execution sequence of my u-boot.
gdb does not simulate, it actually runs the code. And the "step" command runs the code until it reaches a new source line.
If you want to step on machine instruction level you should use "stepi" instead.
You may also want to read the documentation, for example this section of the DULG: http://www.denx.de/wiki/view/DULG/DebuggingTricks
What may be the problem?any suggestions is appreciate.
Where exactly do you see a problem?
compile success.But when i burn u-boot.bin into my NOR flash(sst39vf3201).Nothing happened. So i would like to use arm-linux-gdb(eldk-4.2) with simulating.
Debugging is indeed a good idea in such a situation. Note that gdb does not "simulate". You will need a JTAG adapter to debug on the real hardware.
Best regards,
Wolfgang Denk