commit | 4978bf8d5a77ef0cf6bec78197e34125175daad9 | [log] [tgz] |
---|---|---|
author | Jason Lowe-Power <jason@lowepower.com> | Wed Mar 30 19:34:49 2022 -0700 |
committer | Jason Lowe-Power <power.jg@gmail.com> | Tue Apr 12 20:30:54 2022 +0000 |
tree | 029ad790bbecfa0798774923bcd95b0c872bac10 | |
parent | 00fd6406623ff2a10399512341086e41dccb5ad3 [diff] |
scons: Fix bug in error message The variable p doesn't exist in the context. Just remove the extra print. Even without the specific variable printed the error message is pretty helpful. Change-Id: If681d686c228c1362b8cc46cb14a94d7302f3793 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/58429 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/build_tools/sim_object_param_struct_hh.py b/build_tools/sim_object_param_struct_hh.py index ff525ee..261ac9b 100644 --- a/build_tools/sim_object_param_struct_hh.py +++ b/build_tools/sim_object_param_struct_hh.py
@@ -73,7 +73,7 @@ try: ptypes = [p.ptype for p in params] except: - print(sim_object, p, p.ptype_str) + print(sim_object) print(params) raise