This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Remove register_bytes_ok arch method
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 14 May 2007 13:46:07 -0400
- Subject: Re: Remove register_bytes_ok arch method
- References: <200705051226.32219.vladimir@codesourcery.com>
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