Re: [RFA:] Fix breakage of manually building SID CPU
Dave Brolley <brolley <at> redhat.com>
2006-01-30 17:21:20 GMT
Hans-Peter Nilsson wrote:
>See dev.scm. The recentlish (within the last years) enumeration
>SID-SIMULATOR, split off from SIMULATOR, isn't handled in
>dev.scm, causing the cload after load-sid to error. It means my
>how-to-repeat description for the SID-generator-problem with
>cris.cpu at <URL:http://sourceware.org/ml/cgen/2004-q4/msg00015.html>
>broke with the SID-SIMULATOR introduction. I.e.:
>Which begs the question: how do people debug their new SID CPU
>ports these days?
I generaly clone a similar port and go from there using the Makefiles.
>Maybe the fix is as simple as copying the SIMULATOR case?
>A patch follows for that. It works for the guile sequence
>above. With CGEN sources at the time of this writing, I no
>longer get the error above or at the URL. I haven't checked
>whether the generated code is correct, though.
>Ok to commit?
The patch looks ok to me. Please go ahead and commit it.