aboutsummaryrefslogtreecommitdiff
path: root/gdb/moxie-tdep.c
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2010-02-04 22:34:07 +0000
committerAnthony Green <green@redhat.com>2010-02-04 22:34:07 +0000
commit4ee73e90d5ecee797674069eec1023257c667449 (patch)
tree6455b192d4ebb1dface90bb3f208493b71a4202c /gdb/moxie-tdep.c
parent1a334831c050446a99a2b5c7ec8e0d452d2f9842 (diff)
downloadgdb-4ee73e90d5ecee797674069eec1023257c667449.zip
gdb-4ee73e90d5ecee797674069eec1023257c667449.tar.gz
gdb-4ee73e90d5ecee797674069eec1023257c667449.tar.bz2
Fix prolog analyzer
Diffstat (limited to 'gdb/moxie-tdep.c')
-rw-r--r--gdb/moxie-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/moxie-tdep.c b/gdb/moxie-tdep.c
index 548f61b..feeb8ff 100644
--- a/gdb/moxie-tdep.c
+++ b/gdb/moxie-tdep.c
@@ -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);