diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-02 14:00:21 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-02 14:00:21 +0000 |
commit | 706774f2ca1cccf92d5fca69420ec7509bf8ce90 (patch) | |
tree | 881f5c85a2865ddbff67de12b3e09a2f6fda7398 /gdb/iq2000-tdep.c | |
parent | 9a35ccf756dbb1f6286edb054fd868a9cb0be262 (diff) | |
download | gdb-706774f2ca1cccf92d5fca69420ec7509bf8ce90.zip gdb-706774f2ca1cccf92d5fca69420ec7509bf8ce90.tar.gz gdb-706774f2ca1cccf92d5fca69420ec7509bf8ce90.tar.bz2 |
gdb/
* iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END.
Diffstat (limited to 'gdb/iq2000-tdep.c')
-rw-r--r-- | gdb/iq2000-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |