New files for IA-64 port.
[deliverable/binutils-gdb.git] / gdb / m32r-tdep.c
index 476dcf3785d3e9b36a4aaecab0f0c1450e05d8d1..cb5d9c32e860778e541ae6c0788484e63af12c5c 100644 (file)
@@ -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.  */
@@ -514,9 +514,9 @@ m32r_frame_chain (fi)
       return 0;                        /* in _start fn, don't chain further */
   if (fi->framesize == 0)
     {
-      printf_filtered ("cannot determine frame size @ %08x , pc(%08x)\n",
-                      (unsigned long) fi->frame,
-                      (unsigned long) fi->pc);
+      printf_filtered ("cannot determine frame size @ %s , pc(%s)\n",
+                      paddr (fi->frame),
+                      paddr (fi->pc));
       return 0;
     }
   insn_debug (("m32rx frame %08x\n", fi->frame + fi->framesize));
This page took 0.023741 seconds and 4 git commands to generate.