From: Jan Kratochvil Date: Thu, 2 Sep 2010 14:00:21 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=706774f2ca1cccf92d5fca69420ec7509bf8ce90;p=binutils-gdb.git gdb/ * iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85ba40e5b64..2d2344c9873 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-09-02 Jan Kratochvil + + * iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END. + 2010-09-02 Jan Kratochvil * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT): Convert it to the no- form. diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c index 60222fb4658..0d03f1eb90f 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: