Re: [RFC] sh-tdep.c: Don't fetch FPSCR register if it doesn't exist

Kevin Buettner
2012-03-01T19:10:47Z

On Thu, 1 Mar 2012 07:56:45 -0800
Joel Brobecker <brobecker@adacore.com> wrote:

> > What do you think?
> >
> > Here's an updated patch:
> >
> > * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register
> > unless it exists for this architecture.
>
> FWIW, I don't know if it is *the* canonical approach (or if there is
> any), but it seems like a very reasonable one.

Thanks for looking it over.

I'll go with this approach then, unless there are objections.

Kevin