Re: Remove register_bytes_ok arch method

Daniel Jacobowitz
2007-05-14T17:46:22Z

On Sat, May 05, 2007 at 12:26:31PM +0400, Vladimir Prus wrote:
>
> At the moment, the register_bytes_ok arch method is defined
> only by m68k-tdep.c. There's no good reason to have this method now,
> as remote.c, if it does not see some register in 'g' reply will send
> extra 'p' reply just fine. Further, it's hard to decide what's
> right size of 'g' reply -- target may have floating point registers, or
> might not have, and so on.
>
> This patch removes register_bytes_ok arch method. OK?

I agree. The patch is OK, but you didn't remove it right. gdbarch.h
and gdbarch.c are generated by running gdbarch.sh; just remove it from
there, run the script, and move the new files into place.

--
Daniel Jacobowitz
CodeSourcery