From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Evans To: Dave Brolley Cc: cgen@sources.redhat.com Subject: CGEN: Program vs Data Memory Date: Fri, 15 Sep 2000 13:10:00 -0000 Message-id: <14786.33325.357544.86860@casey.transmeta.com> References: <39C28079.B6D723BF@redhat.com> X-SW-Source: 2000-q3/msg00099.html Dave Brolley writes: > The port I'm working on has a harvard Architecture with separate program > and data memory, both addressed from 0 to 4M. Does CGEN have anything > for handling this, or should I just map references to data memory myself > by adding 4M? How do I communicate this to gdb? Depends, I guess. There is the hardware "selector" facility which was added to support things like sparc's ASI's. Maybe that could be used [not saying you won't run into some unimplemented things though]. You need to elaborate on your gdb question. How is this relevant to cgen?