This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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]

ppc405gpr On-Chip Memory (OCM) debugging


My OCD/JTAG vendor (Macraigor) has supplied a simple c demo program you can load to a ppc405gpr using GDB and their mpDemon box. It appears to work fine in insight or gdb except that when you single step (s) around in the code it often skip instructions in a somewhat random way. Optimization was not not used when compiling the program which is running entirely in the 4k on-chip ram memory of the processor which gets located using .gdbinit at 0xfc000000. Single stepping by assembly instructions (si) seems to work without any skipped instructions.

Any idea why I see skipped c instructions? I have tried gdb/insight builds on cygwin and linux with the same result.

-gene


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