diff options
author | Tom Tromey <tromey@redhat.com> | 2014-07-21 16:54:06 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-07-24 11:30:02 -0600 |
commit | fc4baa5e1f016c27eab4b2593a1ba9db60e11bee (patch) | |
tree | 4d095e5b1b3c82f8f63bf8ea8c7b113765771469 /gdb/ChangeLog | |
parent | 0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb (diff) | |
download | gdb-fc4baa5e1f016c27eab4b2593a1ba9db60e11bee.zip gdb-fc4baa5e1f016c27eab4b2593a1ba9db60e11bee.tar.gz gdb-fc4baa5e1f016c27eab4b2593a1ba9db60e11bee.tar.bz2 |
constify maint.c
This does a bit of constification in maint.c, making
print_bfd_section_info a bit cleaner in the process.
2014-07-24 Tom Tromey <tromey@redhat.com>
* maint.c (match_bfd_flags): Make "string" const.
(print_bfd_section_info): Remove casts.
(print_objfile_section_info): Make "string" const.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f8d055..aaa3307 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2014-07-24 Tom Tromey <tromey@redhat.com> + * maint.c (match_bfd_flags): Make "string" const. + (print_bfd_section_info): Remove casts. + (print_objfile_section_info): Make "string" const. + +2014-07-24 Tom Tromey <tromey@redhat.com> + * inf-child.c (inf_child_open_target): Make "arg" const. * inf-child.h (inf_child_open_target): Update. |