[PATCH] Remove harcoded constants in remote.c:watchpoint_to_Z_packet

Daniel Jacobowitz drow@false.org
Thu Mar 30 18:56:00 GMT 2006


On Mon, Feb 20, 2006 at 12:46:18PM -0500, Daniel Jacobowitz wrote:
> On Mon, Nov 14, 2005 at 01:08:36PM +0300, Vladimir Prus wrote:
> > 
> > This is a trivial change replacing hardcoded constants with already existing 
> > enumerators.
> > 
> > Changelog entry:
> > 
> > 2005-11-14  Vladimir Prus  <ghost@cs.msu.su>
> > 
> >         * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
> >           instead of hardcoded integer literals.
> 
> Sorry, missed this when you posted it.  This is fine; do you have
> write access?
> 
> ChangeLog formatting, tabs and left column alignment:
> 
> 	* remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
> 	instead of hardcoded integer literals.

I've belatedly checked this in for Vladimir.  Vladimir, I'd suggest you
get write access, but it looks like the copyright paperwork is still up
in the air; we can get you an account once that's done.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list