remote: Make vcont_builder a class
authorPedro Alves <palves@redhat.com>
Tue, 22 May 2018 17:22:11 +0000 (18:22 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 22 May 2018 17:34:39 +0000 (18:34 +0100)
commitf5db4863f51b83bc6b54504d61e1731011cfdec2
tree140eff9933ca9e441dc652ca1788b12f896b2613
parentcc0be08f80d4348e8f81471c80409710c4d4cd1a
remote: Make vcont_builder a class

gdb/ChangeLog:
2018-05-22  Pedro Alves  <palves@redhat.com>

* remote.c (vcont_builder): Now a class.  Make all data members
private.
(vcont_builder) <vcont_builder, restart, flush, push_action>:
Declare methods.
(vcont_builder_restart): Rename to ...
(vcont_builder::restart): ... this.
(vcont_builder_flush): Rename to ...
(vcont_builder::flush): ... this.
(vcont_builder_push_action): Rename to ...
(vcont_builder::push_action): ... this.
(remote_target::commit_resume): Adjust.
gdb/ChangeLog
gdb/remote.c