This repository was archived by the owner on Mar 3, 2025. It is now read-only.
Tags: efeslab/lapidary
Tags
Patch version 0.7.1 (#6) * Made test more meaningful. Update version number * Fix issue with GDB-python not using virtual environment - The problem is that GDB's python does not use the path from the virtual environment. However, sys.path is populated in part by $PYTHONPATH. So, by passing on sys.path into $PYTHONPATH before invoking GDB, we can auto-populate sys.path to point GDB to the virtual environment. * Solve some packaging issues with python2 in gem5. - Testing this in a clean VM is very helpful.
Dev 0.6 (#4) * Fix config argument bug * Fix packaging error that was only allowing lapidary to be run from the directory itself. Now can be installed via pip. * Cleaning up the checkpointing engine as I start working on keyframes. - Adding some documentation (docstrings) - Converting random print statements into log messages using the logger modules. - Also moved the LICENSE to the proper place in the directory hierarchy so that it shows up on github. * Fix bug in Spec17 plugin that wasn't allowing for customizable spec locations. - Spec2017Bench now overrides the SPEC17_ROOT variable in the makefile, allowing spec to now build properly. - Added a bit more documentation. * Fixed the bug with early-termination in GDB - It wasn't actually an issue with the signal handler like I thought. It was actually that I wasn't catching a GDB error from parsing the "show language" command. It is now fixed. - Some other minor tweaks. * Legacy bug cleanup. Before we can merge 0.6, we need to do the following things: - Get single simulate and parallel simulate working again (currently I need to test after rebuilding gem5). - Get keyframes fully implemented, which will dramatically increase usability. * Fixed single simulate - Parallel still terminates early for some reason * Parallel simulate is working again! - Need to clean up the stdout/stderr interweaving. - Should also clean up some of the logging infra * Fixed stdout/stderr redirection Tips and tricks: - stdout/stderr should be in text mode (at least for python2.7, I think) - need to seek to 0 to print - can't use io.StringIO because python expects fileno() to be implemented on stdout/stderr * A bit of clean-up * Add some keyframes scaffolding.