config: exit with fatal() if error
authorPierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>
Thu, 23 Feb 2017 09:12:05 +0000 (10:12 +0100)
committerPierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>
Wed, 1 Mar 2017 14:21:56 +0000 (14:21 +0000)
commitf3e0ac2b063e39924c1b31d3ec83a0bf0c43fdfd
tree56ee8e4ef55f12ced560fab9b89d60062a73f10e
parentefcd8ae0244ec2791b58c749815c2f7a835eb78f
config: exit with fatal() if error

If output redirection is activated, the error message is printed in
simout. This change ensure it will be printed in simerr.

Change-Id: Ie661ac6b6978bf2e4aaaccdf23134795d764d459
Signed-off-by: Pierre-Yves Péneau <pierre-yves.peneau@lirmm.fr>
Reviewed-on: https://gem5-review.googlesource.com/2221
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
configs/common/PlatformConfig.py