Fix prolog analyzer
This commit is contained in:
parent
1a334831c0
commit
4ee73e90d5
|
@ -1,3 +1,8 @@
|
||||||
|
2010-02-04 Anthony Green <green@moxielogic.com>
|
||||||
|
|
||||||
|
* moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis
|
||||||
|
gracefully.
|
||||||
|
|
||||||
2010-02-04 Tom Tromey <tromey@redhat.com>
|
2010-02-04 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* valops.c (search_struct_field): Account for
|
* valops.c (search_struct_field): Account for
|
||||||
|
|
|
@ -174,6 +174,8 @@ moxie_analyze_prologue (CORE_ADDR start_addr, CORE_ADDR end_addr,
|
||||||
cache->saved_regs[regnum] = cache->framesize;
|
cache->saved_regs[regnum] = cache->framesize;
|
||||||
next_addr += 2;
|
next_addr += 2;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
inst = read_memory_unsigned_integer (next_addr, 2, byte_order);
|
inst = read_memory_unsigned_integer (next_addr, 2, byte_order);
|
||||||
|
|
Loading…
Reference in New Issue