This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]