Class-ify ui_out_hdr
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 1 Dec 2016 21:02:00 +0000 (16:02 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 1 Dec 2016 21:02:00 +0000 (16:02 -0500)
commit37e20dd6599203c4e261fc3a2e86711c90cbbed9
treeabc8a5dd239ef45f4fffd643868e31d23b86e6eb
parentc5209615263fd0444da28cdfb6661ad287909a70
Class-ify ui_out_hdr

This patch makes ui_out_hdr (the object that represents an ui-out table
header) a proper C++ class.  No behavior changes, it's all about
encapsulation.

gdb/ChangeLog:

* ui-out.c (struct ui_out_hdr): Replace with ...
(class ui_out_hdr): ... this.
(append_header_to_list): Update.
(get_next_header): Update.
(ui_out_query_field): Update.
gdb/ChangeLog
gdb/ui-out.c