Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Patch version 0.7.1#6

Merged
iangneal merged 3 commits intomasterfrom
dev0.7.1
Jan 20, 2020
Merged

Patch version 0.7.1#6
iangneal merged 3 commits intomasterfrom
dev0.7.1

Conversation

@iangneal
Copy link
Copy Markdown
Collaborator

After testing on a clear virtual machine, we found a couple of bugs dealing with packaging/dependency resolution that we fixed by:

  • Installing python2 packages during python3 installation (gem5 uses python2)
  • Using the PYTHONPATH environment variable to ensure that gdb-python uses virtual environment packages.

- 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.
- Testing this in a clean VM is very helpful.
@iangneal iangneal merged commit e861e41 into master Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant