summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2014-01-03 17:08:43 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2014-01-03 17:08:43 -0800
commitd8c9b5431b05550ee3a232e95af50a5e3d9ce4b5 (patch)
tree19c011c33deb91c72f32b8feb3c502628efedb45 /configs
parentba9ec669bcf68e4d4e3322f07e5f51af19f05b4a (diff)
downloadgem5-d8c9b5431b05550ee3a232e95af50a5e3d9ce4b5.tar.xz
python: provide better error message for wrapped C++ methods
If you successfully export a C++ SimObject method, but try to invoke it from Python before the C++ object is created, you get a confusing error that says the attribute does not exist, making you question whether you successfully exported the method at all. In reality, your only problem is that you're calling the method too soon. This patch enhances the error message to give you a better clue.
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions