I am trying to use OpenOCD with GDB  to debug C code running on a Cortex A8
(AM335x).   One of the issues I am running into is the MCU jumping to the
ISR vector every time I try to step using GDB, which results in stepping to
the ISR vector rather than the next line of code in the current source file.

                If I do a “mon reg cpsr 0x1d3” from the gdb command line to
disable IRQ’a , then the stepping works.  Obviously, this is not the
correct way to do this.



So the general question is, is there a way I can step through code without
gdb jumping to the ISR vector?



An alternate question, and maybe be related is: Does the OpenOCD cortex A8
module have anything like the M3 maskisr functionality that I can hook into
GDB?



Thanks,

Ken
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to