summaryrefslogtreecommitdiff
path: root/Debugger/undef_handler.S
AgeCommit message (Collapse)Author
2011-07-09comments and code alignment cleanupsTat-Chee Wan (USM)
2011-06-13disable interrupts when switching from undef handler to debuggerTat-Chee Wan (USM)
NxOS has nested interrupts support. Prevent accidental retriggering of UNDEF handler while processing an existing breakpoint by disabling interrupts until the breakpoint has been restored and the debugger is really ready to handle debug messages.
2011-04-01debug handler must be passed in non-banked registerTat-Chee Wan (USM)
2011-04-01fixed thumb breakpoint detection logic in undef handlerTat-Chee Wan (USM)
Thumb breakpoints were not handled properly in the Undef instruciton handler previously. This fixes the problem.
2011-03-28split out internal constants from debug_stub.hTat-Chee Wan (USM)
2011-03-23fix syntax error for msr spsr instructionTat-Chee Wan (USM)
2011-03-22continue execution wipTat-Chee Wan (USM)
Work in Progress to implement GDB Continue Execution
2011-03-18we should only invoke bkpt in ccommhandledebug in normal operation modeTat-Chee Wan (USM)
Before invoking Breakpoint in cCommHandleDebug, we need to check if we're already in Abort (Debug) mode. Refactored header files to allow access to Mode Bit definitions from other files.
2010-12-21use r0 for undef instruction manipulationTC Wan
Fixed previous commit errors in register usage for UNDEF instruction address and opcode manipulation.
2010-12-21updated previous mode stack supportTC Wan
Fix some logic errors in the code, cleaned up register usage.
2010-12-20previous mode stack supportTC Wan
Work in Progress. Store Previous Mode banked registers into stack frame.
2010-12-17store user mode next instruction address in r15 slotTC Wan
Keep Next Instruction Address in User Mode R15 stack frame slot.
2010-12-16fix undef handler instruction address calculation, arm7 does not recognize ↵TC Wan
bkpt instruction coding The Undef handler was adding to instead of subtracting from PC to get the BKPT instruction address. ARM7 does not recognize BKPT instruction coding. Modified instruction code to use UNDEF instruction prefix instead. Refer Steve Furber, ARM SOC Architecture, 2nd Ed, pg 143
2010-12-02changed the license clause, misc cleanupsTC Wan
The armdebug project is now dual licensed to make it easier to integrate with the LEGO NXT firmware. You can choose either to use the GPLv2 or the LEGO Open Source License to integrate this into other projects. Misc cleanups: Removed types.h Moved Debugger Macros into its own file to improve readability. Added COPYING, LEGO license and GPL license texts.
2010-12-01fix undef_handler, initial design for next instruction decodeTC Wan
Fixed error in handling Thumb instructions in undef_handler. Initial Design for Next Instruction Decoding
2010-12-01restructure repositoryTC Wan