diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-23 20:53:23 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-28 08:51:15 -0700 |
commit | 89de4da46b3b3629c51e6e1a37177a6269dc8b05 (patch) | |
tree | 50603f2b5dfbdf72136500334974d7c511b3c291 /gdb/ChangeLog | |
parent | 02fe846e43cb0190251a6fefbd322201b4bbe02d (diff) | |
download | gdb-89de4da46b3b3629c51e6e1a37177a6269dc8b05.zip gdb-89de4da46b3b3629c51e6e1a37177a6269dc8b05.tar.gz gdb-89de4da46b3b3629c51e6e1a37177a6269dc8b05.tar.bz2 |
constify ui_out_impl
This patch constifies ui_out_impl in struct ui_out, and various
instances of ui_out_impl.
This removes a couple of FIXME comments (near cli_ui_out_impl and
mi_ui_out_impl) that did not make sense to me.
Tested by rebuilding.
2014-02-28 Tom Tromey <tromey@redhat.com>
* cli-out.c (cli_ui_out_impl): Now const. Remove comment.
* cli-out.h (cli_ui_out_impl): Now const.
* mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
* ui-out.c (struct ui_out) <impl>: Now const.
(default_ui_out_impl): Now const.
(ui_out_new): Make 'impl' parameter const.
* ui-out.h (ui_out_new): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c99510c..2c615be 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2014-02-28 Tom Tromey <tromey@redhat.com> + + * cli-out.c (cli_ui_out_impl): Now const. Remove comment. + * cli-out.h (cli_ui_out_impl): Now const. + * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. + * ui-out.c (struct ui_out) <impl>: Now const. + (default_ui_out_impl): Now const. + (ui_out_new): Make 'impl' parameter const. + * ui-out.h (ui_out_new): Update. + 2014-02-27 Mark Kettenis <kettenis@gnu.org> * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. |