bugfix for step <address> mips_m4k
The patch below fixes step <address> on mips_m4k. Spencer Oliver <spen@spen-soft.co.uk>: The current code is used on all other arch's - is there a underlying issue with those aswell ?
This commit is contained in:
parent
68bd107c6d
commit
be14e8cbb0
|
@ -421,7 +421,11 @@ static int mips_m4k_step(struct target *target, int current,
|
||||||
|
|
||||||
/* current = 1: continue on current pc, otherwise continue at <address> */
|
/* current = 1: continue on current pc, otherwise continue at <address> */
|
||||||
if (!current)
|
if (!current)
|
||||||
|
{
|
||||||
buf_set_u32(mips32->core_cache->reg_list[MIPS32_PC].value, 0, 32, address);
|
buf_set_u32(mips32->core_cache->reg_list[MIPS32_PC].value, 0, 32, address);
|
||||||
|
mips32->core_cache->reg_list[MIPS32_PC].dirty = 1;
|
||||||
|
mips32->core_cache->reg_list[MIPS32_PC].valid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* the front-end may request us not to handle breakpoints */
|
/* the front-end may request us not to handle breakpoints */
|
||||||
if (handle_breakpoints) {
|
if (handle_breakpoints) {
|
||||||
|
|
Loading…
Reference in New Issue