This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Eliminate use of deprecated_register_bytes() from remote.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 15 Apr 2005 17:37:58 -0400
- Subject: Re: [RFC] Eliminate use of deprecated_register_bytes() from remote.c
- References: <20050415143245.4b210dfe@ironwood.lan>
On Fri, Apr 15, 2005 at 02:32:45PM -0700, Kevin Buettner wrote:
> This one seems almost obvious, but I'd like someone else to look it
> over before I check it in...
>
> * remote.c (init_remote_state): Eliminate use of
> deprecated_register_bytes().
I'm pretty sure you need an if (regnum < NUM_REGS) on the second piece.
--
Daniel Jacobowitz
CodeSourcery, LLC