gem5 eclipse save and restore config files

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-10-14 01:00:00 +00:00
parent f6c3ba7c43
commit af92b11f82
3 changed files with 32 additions and 0 deletions

View File

@@ -14832,6 +14832,8 @@ To run and GDB step debug the executable, just copy the <<dry-run,full command l
and configure it into Eclipse as usual.
One downside of this setup is that if you want to nuke your build directory to get a clean build, then the Eclipse configuration files present in it might get deleted. Maybe it is possible to store configuration files outside of the directory, but we are now mitigating that by making a backup copy of those configuration files before removing the directory, and restoring it when you do `./build-gem --clean`.
==== gem5 Python C++ interaction
The interaction uses the Python C extension interface https://docs.python.org/2/extending/extending.html interface through the <<pybind11>> helper library: https://github.com/pybind/pybind11