Remove Prefetch abort for breakpoints. Instead set the state to RESUME.
This commit is contained in:
parent
8a0c27cda9
commit
2ef048fc9f
@ -1,3 +1,8 @@
|
|||||||
|
2001-02-16 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* armemu.c: Remove Prefetch abort for breakpoints. Instead set
|
||||||
|
the state to RESUME.
|
||||||
|
|
||||||
2001-02-14 Nick Clifton <nickc@redhat.com>
|
2001-02-14 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* armemu.c: Add code to preserve processor mode when a prefetch
|
* armemu.c: Add code to preserve processor mode when a prefetch
|
||||||
|
@ -1340,7 +1340,6 @@ ARMul_Emulate26 (register ARMul_State * state)
|
|||||||
{
|
{
|
||||||
ARMword value;
|
ARMword value;
|
||||||
extern int SWI_vector_installed;
|
extern int SWI_vector_installed;
|
||||||
int in_thumb_mode;
|
|
||||||
|
|
||||||
/* Hardware is allowed to optionally override this
|
/* Hardware is allowed to optionally override this
|
||||||
instruction and treat it as a breakpoint. Since
|
instruction and treat it as a breakpoint. Since
|
||||||
@ -1378,17 +1377,8 @@ ARMul_Emulate26 (register ARMul_State * state)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We must signal an abort to mark the next instruction as
|
/* Force the next instruction to be refetched. */
|
||||||
invalid and in need of refetching. This is because if this
|
state->NextInstr = RESUME;
|
||||||
the instruction was a breakpoint inserted by the debugger,
|
|
||||||
the instruction could be changed back to its original value.
|
|
||||||
The abort however, will automatically reset the processor into
|
|
||||||
ARM mode, so we have to preserve the mode flag and resort it
|
|
||||||
after singalling the abort. */
|
|
||||||
in_thumb_mode = TFLAG;
|
|
||||||
ARMul_Abort (state, ARMul_PrefetchAbortV);
|
|
||||||
ASSIGNT (in_thumb_mode);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user