sim/arm: Prevent NULL pointer dereference in sim_create_inferior.
authorWill Newton <will.newton@linaro.org>
Tue, 29 Oct 2013 16:20:48 +0000 (09:20 -0700)
committerWill Newton <will.newton@linaro.org>
Thu, 7 Nov 2013 16:02:41 +0000 (16:02 +0000)
commit8782aa321e1bb466012a71791b8a40e2cb42d841
tree62131ceb45f509f31bd340eab53a72a3359c6dab
parenta22bc58c6ad25f1a2af7c93f3beeb4f927535329
sim/arm: Prevent NULL pointer dereference in sim_create_inferior.

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

PR gdb/9195
* arm/wrapper.c (sim_create_inferior): Avoid calling
bfd_get_mach with a NULL bfd.
sim/ChangeLog
sim/arm/wrapper.c