linux-user: more debug for init_guest_space
commitb859040dc44b271e9ad29f729cac71d2389b05fd
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 3 Apr 2020 19:11:42 +0000 (3 20:11 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Apr 2020 15:19:49 +0000 (7 16:19 +0100)
treef302354abb5d827934db9ae0b091c815df2aca86
parentaf7fc47f2c28fe0183ce98aa070e1b899cd08199
linux-user: more debug for init_guest_space

Searching for memory space can cause problems so lets extend the
CPU_LOG_PAGE output so you can watch init_guest_space fail to
allocate memory. A more involved fix is actually required to make this
function play nicely with the large guard pages the sanitiser likes to
use.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200403191150.863-5-alex.bennee@linaro.org>
linux-user/elfload.c