summaryrefslogtreecommitdiff
path: root/gdb/m32r-tdep.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-09-13 21:37:11 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-09-13 21:37:11 +0000
commit854ff0654499b511ce9993ca22aa4d8e88b325d8 (patch)
tree12327c0498a28cbe0e86f761e7279e44aad515d6 /gdb/m32r-tdep.c
parent86d990163cfccd9d3e2d278046a9835e8fcd9cdd (diff)
downloadgdb-854ff0654499b511ce9993ca22aa4d8e88b325d8.tar.gz
import gdb-1999-09-13 snapshotgdb-1999-09-13
Diffstat (limited to 'gdb/m32r-tdep.c')
-rw-r--r--gdb/m32r-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c
index a4a791bb847..cb5d9c32e86 100644
--- a/gdb/m32r-tdep.c
+++ b/gdb/m32r-tdep.c
@@ -250,7 +250,7 @@ decode_prologue (start_pc, scan_limit,
/* End of prolog if any of these are branch instructions */
if ((op1 == 0x7000)
|| (op1 == 0xb000)
- || (op1 == 0x7000))
+ || (op1 == 0xf000))
{
after_prologue = current_pc;
insn_debug (("Done: branch\n"));
@@ -350,7 +350,7 @@ m32r_scan_prologue (fi, fsr)
{
struct symtab_and_line sal;
CORE_ADDR prologue_start, prologue_end, current_pc;
- unsigned long framesize;
+ unsigned long framesize = 0;
/* this code essentially duplicates skip_prologue,
but we need the start address below. */