summaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.S
AgeCommit message (Collapse)Author
2011-07-20disable setting of fpscr dummy registerTC Wan
Updated comments related to register manipulatuion
2011-07-20updated comments for fp reg processing, set one reg logicTat-Chee Wan (USM)
Updated comments related to set one register, fixed logic for updating dummy FP registers
2011-07-20revised get register logicTat-Chee Wan (USM)
GDB will query for CPSR register value explicitly. Return dummy values for FP0-FP7, FPSCR
2011-07-20fix register usage clobbered by revised output macrosTat-Chee Wan (USM)
R3 was clobbered by buffer output macros. Don't use R3 to store important data.
2011-07-20refactoring of message copying macrosTat-Chee Wan (USM)
Cleaned up macros used to copy debug messages to output buffers
2011-07-20fix register corruption when using setstate macroTat-Chee Wan (USM)
We must preserve R0 and R1 which are destroyed by the setstate macro.
2011-07-20implement query current thread supportTat-Chee Wan (USM)
2011-07-13remote autobreakpoint code from master branchTat-Chee Wan (USM)
Autobreakpoint support is not robust. It is removed from the master branch. The autobreakpoint_stub branch contains the old autobreakpoint code.
2011-07-12conditionally exclude dead code from breakpoint handling logicTat-Chee Wan (USM)
2011-07-12fix register corruption in __dbg__iterate_breakpoint_arrayTat-Chee Wan (USM)
Handler routine corrupts register used by __dbg__iterate_breakpoint_array. Added comments to indicate entry and exit register state for breakpoint related routines.
2011-07-11fix comment textTat-Chee Wan (USM)
2011-07-11fix data abort error due to thumb bit set in instruction addressTat-Chee Wan (USM)
Need to clear thumb flag in _dbg__install_one_breakpoint before accessing memory location, otherwise a Data Abort will be triggered for thumb instructions
2011-07-11updated gdb signal numbers based on ecos headerTat-Chee Wan (USM)
Use actual ECoS header signal definitions
2011-07-11update signal output to handle prefetch and data abortsTat-Chee Wan (USM)
Implement Prefetch and Data Abort Signal enum output
2011-07-09cleanup abort handler to armdebug interfaceTat-Chee Wan (USM)
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 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-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-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-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-15made routines global due to refactoringTat-Chee Wan (USM)
2011-06-15split platform specific code from generic debug codeTat-Chee Wan (USM)
Move platform specific routines from debug_stub.S into debug_runlooptasks.S
2011-06-13commented out redundant instruction in breakpoint processing logicTat-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-06-08removed extraneous call to restore_single_stepTat-Chee Wan (USM)
2011-06-08fix bug in activate_one_breakpoint where it is clearing the breakpoint ↵Tat-Chee Wan (USM)
instruction
2011-06-06work in progress, cleanup nxos support codeTat-Chee Wan (USM)
Zero copy fantom message handling, don't reset fantom_message buffer until message has been examined.
2011-06-04work in progress to integrate fantom message filtering for nxosTat-Chee Wan (USM)
Filter Fantom Messages in NxOS usb_isr().
2011-05-28pass isr return address into nxos debug handlerTat-Chee Wan (USM)
2011-05-27added nxos configuration routine to handle debug mode switchingTat-Chee Wan (USM)
2011-05-23Don't send another ack after responding to ctrl-c from debuggerTat-Chee Wan (USM)
2011-04-04optimized access to carry flagTat-Chee Wan (USM)