Class-ify ui_out_level
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 1 Dec 2016 21:04:43 +0000 (16:04 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 1 Dec 2016 21:04:43 +0000 (16:04 -0500)
commit909c0aa5824080c287b390f82726cf5bfb7011e3
tree7c836f4738816cd55a22d0752dd44faec8807f9e
parent37e20dd6599203c4e261fc3a2e86711c90cbbed9
Class-ify ui_out_level

This patch changes struct ui_out_level to be a real C++ class.  No
behavioral changes.

gdb/ChangeLog:

* ui-out.c (struct ui_out_level): Replace with ...
(class ui_out_level): ... this.
(current_level): Update.
(push_level): Update.
(pop_level): Update.
(verify_field): Update.
(ui_out_new): Update.
gdb/ChangeLog
gdb/ui-out.c