Use std::string in ui_out_table
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 1 Dec 2016 02:46:49 +0000 (21:46 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 1 Dec 2016 02:46:49 +0000 (21:46 -0500)
commit95a23284a3db0ec85bb0b11c70e6b5acf00563f6
treee62c9f38873cbefe0907aa8b6cfe76c91e9f47e4
parentb9b118c3bb29052ee76c6bf32b99962cda5113ba
Use std::string in ui_out_table

Use std::string for the id field of the ui_out_table object.

I found that all users of ui_out_table_begin passed a non-NULL value to
the tblid parameter, so we don't have to worry about the NULL case.  I
changed the tblid parameter to be a std::string while at it.

gdb/ChangeLog:

* ui-out.c (struct ui_out_table) <id>: Change type to
std::string.
(ui_out_table_begin): Change tblid parameter type to
std::string, adapt code.
update following type change.
(clear_table): Update.
(ui_out_new): Update.
gdb/ChangeLog
gdb/ui-out.c
This page took 0.029046 seconds and 4 git commands to generate.