summaryrefslogtreecommitdiff
path: root/Debugger
AgeCommit message (Collapse)Author
2011-07-09added preliminary abort exception supportTat-Chee Wan (USM)
2011-07-09comments and code alignment cleanupsTat-Chee Wan (USM)
2011-07-09thumb mode tests, modified arm mode test for signed comparesTat-Chee Wan (USM)
Thumb mode test routine using Unsigned compares Implement Signed Compares for ARM Mode
2011-07-08code cleanup, fix breakpoint handling logic on entry to debuggerTat-Chee Wan (USM)
When any Breakpoint is triggered, we must restore all active breakpoints. Otherwise, in the case where Normal Breakpoints are active and we encounter a Manual Breakpoint, the Normal Breakpoint will be left dangling (and eventually the breakpoint will be cleared by GDB, destroying the original instruction opcode).
2011-07-06fix syntax errorsTat-Chee Wan (USM)
2011-07-06updated arm condtion code check algorithmTC Wan
The previous ARM Condition Code checking algorithm was incorrect due to an error in the LS condition requirements. Revised algorithm with some code optimization
2011-07-06update comment on nak message processingTat-Chee Wan (USM)
2011-07-06the previous transmitted message checksum must be cleared before retransmittingTat-Chee Wan (USM)
The previous transmitted message contained a checksum suffix. It must be cleared before retransmission in order to use dbg__putDebugMsg() to retransmit.
2011-07-06attempt to fix gdb nak retransmit endless loopTat-Chee Wan (USM)
When GDB sends a NAK (-) but does not receive what it expects, it will keep trying to get a valid response. We just try to retransmit the last message in this case, hopefully GDB will be satisfied.
2011-07-06reorder arm opcode decode table entries to check for more specific instr firstTat-Chee Wan (USM)
ARM BX/BLX instruction share similar opcode prefix with ARM Data instructions. We must check for the BX/BLX instruction first, otherwise the decoder will assume that it is a Data instruction.
2011-07-06fix bug in b and bl offset calculation, code cleanup.Tat-Chee Wan (USM)
B/BL Instruction Parsing routine was not calculating the correct offset. Cleanup debugger stack frame access logic
2011-07-05added gdb step command execution example routineTat-Chee Wan (USM)
2011-07-05refactoring, moved opcode parsing logic to separate fileTat-Chee Wan (USM)
2011-07-05fix step command responseTat-Chee Wan (USM)
Remove ACK response from Step command, let the next breakpoint trigger the Signal response
2011-07-04thumb instruction parser cleanupsTat-Chee Wan (USM)
Cleanup Thumb Instruction Parser.
2011-07-04code cleanup, moved constant defines to debug_internals.hTat-Chee Wan (USM)
2011-07-04update arm opcode parser for ldm instructionTat-Chee Wan (USM)
Code Audit. Fix LDM parsing for Pre-Post Indexing modes.
2011-07-04work in progress, done prelim audit of arm opcode parsingTat-Chee Wan (USM)
Preliminary ARM Opcode Parsing complete
2011-07-04work in progress, further cleanupsTat-Chee Wan (USM)
More code audits and cleanups.
2011-07-02work in progress: fix thumb instruction evaluation, update arm data ↵Tat-Chee Wan (USM)
instruction handler More fixes: Thumb Instruction Evaluator ARM Data Instruction handler
2011-07-02optimization, removed one instruction from _dbg_cond_complex_checkTat-Chee Wan (USM)
2011-07-01work in progress, cleaning up code handler apiTat-Chee Wan (USM)
Change code handler register usage to reduce parameter copying.
2011-07-01fix invalid table name in _dbg_armDecodeEntry macro, improved comments in ↵Tat-Chee Wan (USM)
arm processing routines Misc cleanups, fix error in _dbg_armDecodeEntry macro.
2011-07-01work in progress, clean up _dbg_check_arm_condcodeTat-Chee Wan (USM)
Rewrite _dbg_check_arm_condcode to fix logical errors
2011-07-01work in progress to fix bugs in arm opcode parserTat-Chee Wan (USM)
Fixing bugs in ARM Opcode Parser. Lots of logical errors.
2011-07-01simple code optimizationTat-Chee Wan (USM)
Reduced the number of instructions needed to access User Stack Registers by defining more compact macros for immediate access needs.
2011-06-29remove wait delay in comm transmitTat-Chee Wan (USM)
dbg__sendCommMsg does not need 1 ms delay. Removed. dbg__runloopTasks needs the 1 ms delay, otherwise Armdebug doess not reliably detect incoming messages in comm buffer. This probably masks synchronization issues related to the USB Receive Buffer checking and handling, and should be fixed (eventually).
2011-06-29fix bug in dbg__sendcommmsg where it did not set the return valueTat-Chee Wan (USM)
correctly Implemented delay in dbg__sendCommMsg to improve reliability
2011-06-29added 1 ms delay to run loopTat-Chee Wan (USM)
2011-06-22power down brick when kill command receivedTat-Chee Wan (USM)
Instead of rebooting, power down the brick when kill command received, to be consistent with NXT firmware behavior
2011-06-22more refactoring, moved platform specific includes to debug_runlooptasks.hTat-Chee Wan (USM)
2011-06-22added message overrun protectionTat-Chee Wan (USM)
2011-06-21exported debug_outcommbuf and debug_incommbuf symbolsTat-Chee Wan (USM)
debug_runlooptasks.S need to access some symbols, so export them
2011-06-21moved platform specific code from debug_comm to debug_runlooptasksTat-Chee Wan (USM)
Reimplement debugger message handling code Moved platform specific code from debug_comm.S to debug_runlooptasks.S
2011-06-20continue calling dIOCtrlTransfer until avr is doneTat-Chee Wan (USM)
2011-06-20implement detach and kill command supportTat-Chee Wan (USM)
2011-06-20declared variables and functions as globals for inter-module accessTat-Chee Wan (USM)
2011-06-20fix typo error in header filenameTat-Chee Wan (USM)
2011-06-20include header file for nxt firmware supportTat-Chee Wan (USM)
2011-06-18rearrange parsing order of detach commandTat-Chee Wan (USM)
2011-06-18fix silly syntax error for pop instructionTat-Chee Wan (USM)
2011-06-18updated comments for detach commandTat-Chee Wan (USM)
2011-06-18added detach command supportTat-Chee Wan (USM)
Detach acts in the same way as Continue (without arguments).
2011-06-18preliminary kill command supportTat-Chee Wan (USM)
When GDB Kill command received, reboot the brick. Conditionalize Step command support based on compiler flags.
2011-06-17fix return status check for nx_usb_data_writtenTat-Chee Wan (USM)
The C return value for True is not identical to that used by ARMDEBUG. Check for False instead.
2011-06-16fix condition check in _dbg__sendCommMsg due to c vs. armdebug encodingTat-Chee Wan (USM)
True is encoded as #1 by C Compiler, while ARMDEBUG uses #0xFFFFFFFF. Changed logic test to avoid this problem.
2011-06-16revamped nxos debugger invocation interfaceTat-Chee Wan (USM)
2011-06-15renamed routines due to refactoringTat-Chee Wan (USM)
2011-06-15made routines global due to refactoringTat-Chee Wan (USM)
2011-06-15referenced external variableTat-Chee Wan (USM)