gem5/src/python/m5
Steve Reinhardt c2cce96a0b sim: fail on implicit creation of orphans via ports
Orphan SimObjects (not in the config hierarchy) could get
created implicitly if they have a port connection to a SimObject
that is in the hierarchy.  This means that there are objects on
the C++ SimObject list (created via the C++ SimObject
constructor call) that are unknown to Python and will get
skipped if we walk the hierarchy from the Python side (as we are
about to do).  This patch detects this situation and prints an
error message.

Also fix the rubytester config script which happened to rely on
this behavior.
2010-08-17 05:06:22 -07:00
..
internal python: Improve support for python calling back to C++ member functions. 2007-08-02 22:50:02 -07:00
util python: add a sorted dictionary class 2010-07-21 15:53:53 -07:00
__init__.py python: Move more code into m5.util allow SCons to use that code. 2009-09-22 15:24:16 -07:00
config.py Fix up regression execution to better handle tests that end abnormally. 2009-03-07 16:58:51 -08:00
core.py stats: create an enable phase, and a prepare phase. 2009-03-05 19:09:53 -08:00
debug.py some new files are missing copyright notices 2009-02-04 16:26:15 -08:00
event.py events: Make trace events happen at the right priority. 2009-02-18 10:00:15 -08:00
main.py python: use ipython in --interactive if it is available 2010-06-14 23:24:46 -07:00
options.py python: cleanup options parsing stuff so that it properly deals with defaults. 2008-10-06 09:31:51 -07:00
params.py sim: fail on implicit creation of orphans via ports 2010-08-17 05:06:22 -07:00
proxy.py Fixes for Port proxies and proxy parameters. 2006-10-08 18:26:59 -07:00
SimObject.py sim: fail on implicit creation of orphans via ports 2010-08-17 05:06:22 -07:00
simulate.py sim: make Python Root object a singleton 2010-08-17 05:06:22 -07:00
stats.py stats: remove simplescalar compatibility for printing 2009-04-22 10:25:14 -07:00
ticks.py python: Move more code into m5.util allow SCons to use that code. 2009-09-22 15:24:16 -07:00
trace.py python: Move more code into m5.util allow SCons to use that code. 2009-09-22 15:24:16 -07:00