gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Sep 2010 14:00:21 +0000 (14:00 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Sep 2010 14:00:21 +0000 (14:00 +0000)
* iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END.

gdb/ChangeLog
gdb/iq2000-tdep.c

index 85ba40e5b6411f335b644b8da6f997d709ed914e..2d2344c98735d2c03c1a2d2fbe36463a856a69d0 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END.
+
 2010-09-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT): Convert it to the no- form.
index 60222fb465821be712c6f328d24efe2c076a7b61..0d03f1eb90f426c28da4e5a0132ca74e77678ec2 100644 (file)
@@ -224,6 +224,8 @@ iq2000_scan_prologue (struct gdbarch *gdbarch,
       loop_end = scan_end;
       if (fi)
        sal = find_last_line_symbol (scan_start, scan_end, 0);
+      else
+       sal.end = 0;    /* Avoid GCC false warning.  */
     }
 
   /* Saved registers: