Constify some remote-notif functions
authorTom Tromey <tom@tromey.com>
Sun, 6 Jan 2019 20:30:00 +0000 (13:30 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 15 Jan 2019 00:32:24 +0000 (17:32 -0700)
commitbb27775165d9b992120371383012404e213b1981
tree61d3ff87dfb04c5ea6d43f20f7bda37987e9fd12
parent05be00a884850c5fe314004c9b91609f480308f6
Constify some remote-notif functions

This constifies the "buf" arguments to various remote-notif functions
and updates the users.

gdb/ChangeLog
2019-01-14  Tom Tromey  <tom@tromey.com>

* remote-notif.c (handle_notification, remote_notif_ack)
(remote_notif_parse): Make "buf" const.
* remote-notif.h (struct notif_client) <parse, ack>: Make "buf"
const.
(remote_notif_parse, remote_notif_ack, handle_notification):
Likewise.
* remote.c (remote_notif_stop_parse): Make "buf" const.
(remote_target::remote_parse_stop_reply): Make "buf" const.
(remote_notif_stop_ack): Make "buf" const.
gdb/ChangeLog
gdb/remote-notif.c
gdb/remote-notif.h
gdb/remote.c