Remove register_bytes_ok arch method

Vladimir Prus ghost@cs.msu.su
Mon May 28 11:41:00 GMT 2007


Daniel Jacobowitz wrote:

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

Here's the updated patch. OK?

- Volodya


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 1.ChangeLog
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070528/0ffd54b0/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.diff
Type: text/x-diff
Size: 7435 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070528/0ffd54b0/attachment.bin>


More information about the Gdb-patches mailing list