summaryrefslogtreecommitdiff
path: root/Debugger
AgeCommit message (Collapse)Author
2011-07-11updated gdb signal numbers based on ecos headerTat-Chee Wan (USM)
Use actual ECoS header signal definitions
2011-07-11fix invalid values for abort signalsTat-Chee Wan (USM)
Use correct enum defintion macros to define abort signal values
2011-07-11update signal output to handle prefetch and data abortsTat-Chee Wan (USM)
Implement Prefetch and Data Abort Signal enum output
2011-07-11revert b9bb70c16dba4c945b75f1a4b929e2ec304d2874, revise fixTat-Chee Wan (USM)
We need to adjust SP to store SPSR and Aborted Next Instruction Address Revised fix to not update SP for storing Aborted PC to R15 slot, but to copy the adjusted SP value for the R14 slot to R3 instead.
2011-07-11fix incorrect stack pointer offset for debug stack save of abort stateTat-Chee Wan (USM)
SP was not updated after storing Aborted instruction PC to debug stack
2011-07-11test pc relative loads to pcTat-Chee Wan (USM)
2011-07-11export dbg__display_abort_info symbolTat-Chee Wan (USM)
2011-07-09cleanup abort handler to armdebug interfaceTat-Chee Wan (USM)
2011-07-09preliminary abort exception handlerTat-Chee Wan (USM)
2011-07-09added preliminary abort mode supportTat-Chee Wan (USM)
Interface to platform specific LCD Display routines
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)