Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug: Use the --32 and --64 command line arguments #97

Merged
merged 2 commits into from
Nov 17, 2017
Merged

Conversation

mwachs5
Copy link
Contributor

@mwachs5 mwachs5 commented Nov 3, 2017

This is to address #96, but I'm not sure this is the change that makes sense.

@mwachs5 mwachs5 requested a review from timsifive November 3, 2017 22:04
debug/targets.py Outdated
if (h.xlen == 0):
h.xlen = parsed.xlen
elif (h.xlen != parsed.xlen):
raise Exception("Hart had a specified XLEN of %d and target had a specified XLEN of %d, they must match." % (h.xlen, parsed.xlen))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally this option would allow you to override XLEN as well. Given that changing XLEN often requires a new link map I don't know how useful that really was, so I'm fine with this new requirement.

I'd say this instead:
"The target has an XLEN of %d, but the command line specified an XLEN of %d. They must match."

@mwachs5 mwachs5 merged commit 4590b79 into master Nov 17, 2017
@mwachs5 mwachs5 deleted the xlen_args branch November 17, 2017 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants