This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC/RFA] gdb extension for Harvard architectures
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: [RFC/RFA] gdb extension for Harvard architectures
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 03 Oct 2001 17:30:45 -0400
- Cc: Michael Snyder <msnyder at cygnus dot com>,gdb-patches at sources dot redhat dot com
- References: <3BB4D843.A92818B9@cygnus.com> <3BB4E273.5020308@cygnus.com> <3BBB4D90.AE2B5AEE@cygnus.com> <nplmiso25w.fsf@zwingli.cygnus.com>
>
> (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