Fix prolog analyzer

This commit is contained in:
Anthony Green 2010-02-04 22:34:07 +00:00
parent 1a334831c0
commit 4ee73e90d5
2 changed files with 7 additions and 0 deletions

View File

@ -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>
* valops.c (search_struct_field): Account for

View File

@ -174,6 +174,8 @@ moxie_analyze_prologue (CORE_ADDR start_addr, CORE_ADDR end_addr,
cache->saved_regs[regnum] = cache->framesize;
next_addr += 2;
}
else
break;
}
inst = read_memory_unsigned_integer (next_addr, 2, byte_order);