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]
Other format: [Raw text]

help: gdb with no ROM/Flash


Hi all,
I would like to get help to gdb a target without loading a file, it is a
boot program stored in Flash memory.
After GDB start, I use "set $pc=x" to the particular address, let say this
particular address is 0.
By dumping the address x/x 0, I can see valid instructions.
By doing "disas", I got "No function contains program for selected frame."
By doing "stepi", I got "Cannot access memory at .

Any help is appreciated.
Regards


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