summaryrefslogtreecommitdiff
path: root/gdb/proc-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r--gdb/proc-api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c
index 2198b2678e5..a03caa1d4eb 100644
--- a/gdb/proc-api.c
+++ b/gdb/proc-api.c
@@ -71,7 +71,8 @@ prepare_to_trace (void)
}
static void
-set_procfs_trace_cmd (char *args, int from_tty, struct cmd_list_element *c)
+set_procfs_trace_cmd (const char *args,
+ int from_tty, struct cmd_list_element *c)
{
#if 0 /* not sure what I might actually need to do here, if anything */
if (procfs_file)
@@ -80,7 +81,8 @@ set_procfs_trace_cmd (char *args, int from_tty, struct cmd_list_element *c)
}
static void
-set_procfs_file_cmd (char *args, int from_tty, struct cmd_list_element *c)
+set_procfs_file_cmd (const char *args,
+ int from_tty, struct cmd_list_element *c)
{
/* Just changed the filename for procfs tracing.
If a file was already open, close it. */