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]
Other format: [Raw text]

Re: [RFA] Update D10V target to use new Harvardized type casts.


Andrew Cagney wrote:
> 
> > This one-line change lets the D10V back-end recognize the new
> > Harvardized type casts eg. "(@code int *)", so that a pointer
> > can be forced into the address space of choice.
> >
> > The exact same change can be used for (most) other Harvard back-ends.
> 
> (I quit as d10v maintainer :-)
> 
> Yes, looks ok.

Committed.

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


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