sim/ppc: don't try to print an uninitialized variable
authorAndrew Burgess <aburgess@redhat.com>
Wed, 19 Oct 2022 14:06:10 +0000 (15:06 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 24 Oct 2022 16:01:04 +0000 (17:01 +0100)
commit368b8c325922ca329ae0edb1a9ce6bc16c9f927f
tree527730368084063c67f1f72268765d736d5d4358
parentffa2d048221147bad30dde3cfbcb535a824b203d
sim/ppc: don't try to print an uninitialized variable

The ppc simulator, in sim_create_inferior, tries to print the function
local entry_point variable before the variable is initialized.

In this commit, I defer the debug print line until the variable has
been initialized.
sim/ppc/sim_calls.c