This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] Eliminate use of deprecated_register_bytes() from remote.c


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


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