diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-09-19 12:44:46 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-09-19 12:44:46 +0000 |
commit | 69150c3d5af696f56fac619ceb0756319ca5074b (patch) | |
tree | 3a89d3788e4800839636d0e4e2149b48a76a2793 /bfd/dwarf2.c | |
parent | 205bc6b1a7f3400e287f5f9e78e4423cbdf52f9e (diff) | |
download | gdb-69150c3d5af696f56fac619ceb0756319ca5074b.zip gdb-69150c3d5af696f56fac619ceb0756319ca5074b.tar.gz gdb-69150c3d5af696f56fac619ceb0756319ca5074b.tar.bz2 |
Mostly code cleanup: Constification.
gdb/
2013-09-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Constification.
* main.c (captured_main): Replace catch_command_errors by
catch_command_errors_const. Twice.
* symfile.c (symbol_file_add_main_1): Make args parameter const.
(symbol_file_add): Make name parameter const.
(symbol_file_add_main, symbol_file_add_main_1): Make args parameter const.
(symfile_bfd_open): Make name parameter const, rename it to cname. Add
variable name. Change their usage accordingly.
* symfile.h (symbol_file_add, symfile_bfd_open): Make first parameter
const.
(symbol_file_add_main): Make args parameter const.
Diffstat (limited to 'bfd/dwarf2.c')
0 files changed, 0 insertions, 0 deletions