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: Michael Snyder <msnyder 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 14:19:23 -0400
- Cc: Daniel Jacobowitz <drow at mvista dot com>,gdb-patches at sources dot redhat dot com
- References: <3BB4D843.A92818B9@cygnus.com> <3BB4E273.5020308@cygnus.com> <3BBB4D90.AE2B5AEE@cygnus.com> <20011003140639.A661@nevyn.them.org> <3BBB54C6.5392258C@cygnus.com>
> 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