Re: [RFC/RFA] gdb extension for Harvard architectures

Andrew Cagney
2001-10-03T14:31:00Z

>
> (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