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

Andrew Cagney
2001-10-03T11:19:00Z

> May I suggest:
>> if ((space_flag & TYPE_FLAG_SPACE_MASK) == TYPE_FLAG_CODE_SPACE)
>>
>> I'd prefer to preserve the knowledge that an object is in only one
>> space.
>
>
> Sure, good suggestion.

Remember, the number of spaces is determined by the target architecture.
You can probably reserve a fixed set but it may eventually overflow.

Andrew