main: return an an exit code of 1 when we exit due to a python exception.
authorNathan Binkert <nate@binkert.org>
Sat, 4 Aug 2007 23:00:36 +0000 (16:00 -0700)
committerNathan Binkert <nate@binkert.org>
Sat, 4 Aug 2007 23:00:36 +0000 (16:00 -0700)
commitd8900d8478d86789d1120f11c9918d65a456d96e
tree550d3b9c0fb275fd8977c570aa8fe37513d8294e
parente8e1ddd5305c4f7d4764f2cd28f70f911a29806f
main: return an an exit code of 1 when we exit due to a python exception.
This requires us to not use PyRun_SimpleString, but PyRun_String since the
latter actually returns a result

--HG--
extra : convert_revision : 3e3916ddd7eef9957569d8e72e73ba4c3160ce20
src/sim/main.cc