This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Update D10V target to use new Harvardized type casts.
>> One thought, though, should that test:
>>
>> ... == FUNC || ... == METHOD || ... == CODE_SPACE
>>
>> be abstracted out? Every harvard target I've looked at has had that
>> same test.
>
>
> Possible. Although it's only a few lines, so far they have shaken out
> as pretty generically useful. Can't think where they would go though...
I'd guess a simple predicate function in gdbtypes.h + gdbtypes.c. The
reason for suggesting it is that I've been tweeking random targets so
that they get the lines right.
Andrew