[PATCH] Remove harcoded constants in remote.c:watchpoint_to_Z_packet
Daniel Jacobowitz
drow@false.org
Mon Feb 20 17:46:00 GMT 2006
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
More information about the Gdb-patches
mailing list