diff options
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index bbbf0e10739..efff972fbc7 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -4461,13 +4461,13 @@ watchpoint_to_Z_packet (int type) switch (type) { case hw_write: - return 2; + return Z_PACKET_WRITE_WP; break; case hw_read: - return 3; + return Z_PACKET_READ_WP; break; case hw_access: - return 4; + return Z_PACKET_ACCESS_WP; break; default: internal_error (__FILE__, __LINE__, |