aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/iq2000-tdep.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85ba40e..2d2344c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
(monitor.o): Replace $(INTERNAL_WARN_CFLAGS) by $(INTERNAL_CFLAGS) and
add $(GDB_WARN_CFLAGS_NO_FORMAT).
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c
index 60222fb..0d03f1e 100644
--- a/gdb/iq2000-tdep.c
+++ b/gdb/iq2000-tdep.c
@@ -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: