projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74a4e43
)
2009-07-15 Kai Tietz <kai.tietz@onevision.com>
author
H.J. Lu
<hjl.tools@gmail.com>
Thu, 16 Jul 2009 00:37:28 +0000
(
00:37
+0000)
committer
H.J. Lu
<hjl.tools@gmail.com>
Thu, 16 Jul 2009 00:37:28 +0000
(
00:37
+0000)
* listing.c (print_source): Initialize cache by NULL.
gas/ChangeLog
patch
|
blob
|
history
gas/listing.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index 99a6350bba0398b3927e24a7551bd8eadddb312d..97c08e584f8c98100e752594b2a8fdc24da2828f 100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,3
+1,7
@@
+2009-07-15 Kai Tietz <kai.tietz@onevision.com>
+
+ * listing.c (print_source): Initialize cache by NULL.
+
2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
* doc/c-arm.texi (mauto-it): Removed old option.
diff --git
a/gas/listing.c
b/gas/listing.c
index 3af70d7be49728a8f744440fca0866a7caeca3fa..aafc5453e7d49137b85b98c83798e726ecff10a6 100644
(file)
--- a/
gas/listing.c
+++ b/
gas/listing.c
@@
-983,7
+983,7
@@
print_source (file_info_type * current_file,
#define NUM_CACHE_LINES 3
static cached_line cached_lines[NUM_CACHE_LINES];
static int next_free_line = 0;
- cached_line * cache;
+ cached_line * cache
= NULL
;
if (current_file->linenum > list->hll_line
&& list->hll_line > 0)