Removed debugging output in cm3_fault_unwind().
This commit is contained in:
parent
32cabac0f3
commit
c9774944de
|
@ -275,7 +275,6 @@ static int cm3_fault_unwind(struct target_s *target)
|
||||||
uint32_t stack[8];
|
uint32_t stack[8];
|
||||||
/* Read registers for post-exception stack pointer */
|
/* Read registers for post-exception stack pointer */
|
||||||
ap_regs_read(target, regs);
|
ap_regs_read(target, regs);
|
||||||
gdb_outf("SP pre exception 0x%08X\n", regs[13]);
|
|
||||||
/* Read stack for pre-exception registers */
|
/* Read stack for pre-exception registers */
|
||||||
target_mem_read_words(target, stack, regs[13], 8 << 2);
|
target_mem_read_words(target, stack, regs[13], 8 << 2);
|
||||||
regs[0] = stack[0];
|
regs[0] = stack[0];
|
||||||
|
@ -285,7 +284,6 @@ static int cm3_fault_unwind(struct target_s *target)
|
||||||
regs[12] = stack[4];
|
regs[12] = stack[4];
|
||||||
regs[14] = stack[5];
|
regs[14] = stack[5];
|
||||||
regs[15] = stack[6];
|
regs[15] = stack[6];
|
||||||
gdb_outf("PC pre exception 0x%08X\n", regs[15]);
|
|
||||||
/* FIXME: stack[7] contains xPSR when this is supported */
|
/* FIXME: stack[7] contains xPSR when this is supported */
|
||||||
|
|
||||||
/* Write pre-exception registers back to core */
|
/* Write pre-exception registers back to core */
|
||||||
|
|
Loading…
Reference in New Issue