aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-01-04 10:18:32 +0000
committerNick Clifton <nickc@redhat.com>2010-01-04 10:18:32 +0000
commit2edcd24424590a93517764b4b7ac7e8f7c51c3f7 (patch)
tree45ea9b207b9573c3905f0a2b36266f10e3c8af4a /opcodes
parent0dc9305793c81af5abbfb34743ebb97767d5b59e (diff)
downloadgdb-2edcd24424590a93517764b4b7ac7e8f7c51c3f7.zip
gdb-2edcd24424590a93517764b4b7ac7e8f7c51c3f7.tar.gz
gdb-2edcd24424590a93517764b4b7ac7e8f7c51c3f7.tar.bz2
PR 11123
* arm-dis.c (print_insn_coprocessor): Initialise value.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/arm-dis.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6e6c721..ff82bdd 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-04 Nick Clifton <nickc@redhat.com>
+
+ PR 11123
+ * arm-dis.c (print_insn_coprocessor): Initialise value.
+
2010-01-04 Edmar Wienskoski <edmar@freescale.com>
* ppc-dis.c (ppc_opts): Add entry for "e500mc64".
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 4f26cd5..e246fe9 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -1749,7 +1749,7 @@ print_insn_coprocessor (bfd_vma pc,
void *stream = info->stream;
fprintf_ftype func = info->fprintf_func;
unsigned long mask;
- unsigned long value;
+ unsigned long value = 0;
unsigned long allowed_arches = ((arm_feature_set *) info->private_data)->coproc;
int cond;