[RFA:] Fix breakage of manually building SID CPU

Dave Brolley brolley@redhat.com
Mon Jan 30 17:21:00 GMT 2006


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.

Dave



More information about the Cgen mailing list