This is the mail archive of the gdb-patches@sourceware.org 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: Remove register_bytes_ok arch method


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


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