sim/arm: Prevent crash when running sim with no binary.
authorWill Newton <will.newton@linaro.org>
Tue, 29 Oct 2013 16:43:07 +0000 (09:43 -0700)
committerWill Newton <will.newton@linaro.org>
Thu, 7 Nov 2013 16:02:51 +0000 (16:02 +0000)
commit1ed6c797ef8814d7f273a0ccc5cf7ebbce497933
treed82ec439ec225f9a1191655cfa468e1561cc47d2
parent8782aa321e1bb466012a71791b8a40e2cb42d841
sim/arm: Prevent crash when running sim with no binary.

2013-11-07  Will Newton  <will.newton@linaro.org>

PR gdb/15508
* arm/wrapper.c (sim_create_inferior): Call init before
accessing STATE.
sim/ChangeLog
sim/arm/wrapper.c