summaryrefslogtreecommitdiff
path: root/firmware/src/os/pit.c
diff options
context:
space:
mode:
authorMin Xu <min.xu@min-info.net>2014-10-25 21:30:23 +0200
committerHarald Welte <laforge@gnumonks.org>2014-11-11 22:30:55 +0100
commit8701086cacca088ae34580908cec45f77042b94e (patch)
tree0755b6b6439acf52ed66ef9b8d1c093247137a64 /firmware/src/os/pit.c
parent6bafd0cfb40c2d201f8723a3678dd4f04b380842 (diff)
Retrieve + print previous PC from stack to debug wdog/spurious IRQ
Retrive previous PC from the stack before entering specific interrupt handler routines. Allow user to trace where interrupt occured: e.g. WatchDog and Spurious interrupt Prior to this change, spurious interrupt would occur so much (observed via gdb/remote debug) so it appears that the board stalled. Once a custom spurious interrupt installed, the code continues after the interrupt instead of re-entering the interrupt.
Diffstat (limited to 'firmware/src/os/pit.c')
0 files changed, 0 insertions, 0 deletions
personal git repositories of Harald Welte. Your mileage may vary