aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-03-01 07:19:06 +0000
committerAlan Modra <amodra@gmail.com>2008-03-01 07:19:06 +0000
commitd253b6540f06cba8a3cac5a0f7673f906859ac37 (patch)
treeafe27ff33947ee2093696327565e9e4654452b43 /binutils
parent176a0d42d0d0a1e4957bb5bf3f5186dc6669a6e7 (diff)
downloadgdb-d253b6540f06cba8a3cac5a0f7673f906859ac37.zip
gdb-d253b6540f06cba8a3cac5a0f7673f906859ac37.tar.gz
gdb-d253b6540f06cba8a3cac5a0f7673f906859ac37.tar.bz2
* objdump.c (objdump_print_addr): Initialise "sym".
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/objdump.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 33ed0e6..32047ad 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-01 Alan Modra <amodra@bigpond.net.au>
+
+ * objdump.c (objdump_print_addr): Initialise "sym".
+
2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
Nick Clifton <nickc@redhat.com>
diff --git a/binutils/objdump.c b/binutils/objdump.c
index c46d269..b348025 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -877,7 +877,7 @@ objdump_print_addr (bfd_vma vma,
bfd_boolean skip_zeroes)
{
struct objdump_disasm_info *aux;
- asymbol *sym;
+ asymbol *sym = NULL;
bfd_boolean skip_find = FALSE;
aux = (struct objdump_disasm_info *) info->application_data;