summaryrefslogtreecommitdiff
path: root/Debugger
diff options
context:
space:
mode:
Diffstat (limited to 'Debugger')
-rw-r--r--Debugger/debug_stub.S10
1 files changed, 7 insertions, 3 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index 3c3670a..55b2183 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -853,6 +853,8 @@ _dbg__cmd_GetAllRegs:
cmp r3, #REG_PC
bls 1b /* process all the registers */
_get_cpsr:
+#if 0
+ /* GDB was not happy when this was added */
/* Output Dummy FPSCR value */
mov r1, #0
#ifdef __BIG_ENDIAN__
@@ -860,7 +862,7 @@ _get_cpsr:
#else
bl word2ascii_le /* Convert and put hex chars into Output Message Buffer */
#endif
-
+#endif
mov r1, #REG_CPSR /* Output User CPSR Value last */
bl _dbg_outputOneRegValue /* update output buffer */
@@ -935,7 +937,7 @@ _dbg__proc_setRegister:
*
*/
_dbg__cmd_SetAllRegs:
- /* Assumes that the registers are in the sequence R0, R1, ... R15, FPSCR (ignored), CPSR */
+ /* Assumes that the registers are in the sequence R0, R1, ... R15, CPSR */
stmfd sp!, {lr}
bl __dbg__cmdParamLen /* R0: pointer to parameters in buffer */
teq r1, #CMD_REG_SETALL_PARAMLEN /* Check for correct length */
@@ -948,6 +950,8 @@ _dbg__cmd_SetAllRegs:
bls 1b
_set_cpsr:
+#if 0
+ /* GDB was not happy when this was added */
/* Read dummy FPSCR value (ignored) */
#ifdef __BIG_ENDIAN__
bl ascii2word_be
@@ -955,7 +959,7 @@ _set_cpsr:
bl ascii2word_le
#endif
mov r0, r1 /* Copy buffer pointer to next parameter to R0 for return value */
-
+#endif
mov r1, #REG_CPSR /* Use CPSR enum (-1) */
bl _dbg_setOneRegValue /* R0: next parameter address pointer */
ldrb r0, [r0]