From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Jim Blandy Cc: Michael Snyder , gdb-patches@sources.redhat.com Subject: Re: [RFC/RFA] gdb extension for Harvard architectures Date: Wed, 03 Oct 2001 14:31:00 -0000 Message-id: <3BBB8385.90607@cygnus.com> References: <3BB4D843.A92818B9@cygnus.com> <3BB4E273.5020308@cygnus.com> <3BBB4D90.AE2B5AEE@cygnus.com> X-SW-Source: 2001-10/msg00064.html > > (This is a suggested enhancement to Michael's patch; I think it's a > step forward as is.) Jim, no one, so far, has disputed this. > Instead of using bits, what if we added a new `const char *' field to > `struct type'? Its value would be a string indicating the name of the > space qualifier applied to the type, or zero indicating the default. > The set of permitted space names would be determined by the > architecture, following some basic conventions (like `data' and > `code'). There would be a gdbarch method like this: What are the rules that apply when the user wishes to compare two such space strings? strcmp() or ==? Andrew