Initialize field insn_count correctly
authorYao Qi <yao.qi@linaro.org>
Wed, 21 Oct 2015 14:50:55 +0000 (15:50 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 23 Oct 2015 08:23:22 +0000 (09:23 +0100)
commit034f1a812d8f5655d08e2bdeb5ec7d56caa40d41
treed3105bad4cc2b03f80b7de609c7e74f5914949c5
parente9f3d8639d088aae89f11c3f8a3197b92c6cb5f2
Initialize field insn_count correctly

This patch initialize dsd.insn_count, otherwise, it triggers the assert
below on testings we did recently.

gdb:

2015-10-23  Yao Qi  <yao.qi@linaro.org>

* aarch64-tdep.c (aarch64_displaced_step_copy_insn): Set
dsd.insn_count to zero.
gdb/ChangeLog
gdb/aarch64-tdep.c