diff options
author | Tom Tromey <tom@tromey.com> | 2017-09-09 21:50:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-09-27 08:44:37 -0600 |
commit | 863779b0c64917a1580a9e505762642ef5833575 (patch) | |
tree | 6b94c6a899bd6f0f40997cd790ab890d69693fb7 /gdb/skip.c | |
parent | cdb34d4a1cf2553a58dc993bfb6f78716e0d1c43 (diff) | |
download | gdb-863779b0c64917a1580a9e505762642ef5833575.zip gdb-863779b0c64917a1580a9e505762642ef5833575.tar.gz gdb-863779b0c64917a1580a9e505762642ef5833575.tar.bz2 |
Constify some commands in skip.c
gdb/ChangeLog
2017-09-27 Tom Tromey <tom@tromey.com>
* skip.c (skip_file_command, skip_function_command)
(skip_enable_command, skip_disable_command, skip_delete_command):
Constify.
Diffstat (limited to 'gdb/skip.c')
-rw-r--r-- | gdb/skip.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -161,7 +161,7 @@ skiplist_entry::add_entry (bool file_is_glob, std::string &&file, } static void -skip_file_command (char *arg, int from_tty) +skip_file_command (const char *arg, int from_tty) { struct symtab *symtab; const char *filename = NULL; @@ -199,7 +199,7 @@ skip_function (const char *name) } static void -skip_function_command (char *arg, int from_tty) +skip_function_command (const char *arg, int from_tty) { /* Default to the current function if no argument is given. */ if (arg == NULL) @@ -424,7 +424,7 @@ info_skip_command (char *arg, int from_tty) } static void -skip_enable_command (char *arg, int from_tty) +skip_enable_command (const char *arg, int from_tty) { bool found = false; @@ -440,7 +440,7 @@ skip_enable_command (char *arg, int from_tty) } static void -skip_disable_command (char *arg, int from_tty) +skip_disable_command (const char *arg, int from_tty) { bool found = false; @@ -456,7 +456,7 @@ skip_disable_command (char *arg, int from_tty) } static void -skip_delete_command (char *arg, int from_tty) +skip_delete_command (const char *arg, int from_tty) { bool found = false; |