This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Remove harcoded constants in remote.c:watchpoint_to_Z_packet


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.


-- 
Daniel Jacobowitz
CodeSourcery


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