aboutsummaryrefslogtreecommitdiff
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, 3 insertions, 3 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c
index dbadd55..dd9af0d 100644
--- a/gdb/proc-api.c
+++ b/gdb/proc-api.c
@@ -54,8 +54,8 @@
struct trans {
long value; /* The numeric value */
- char *name; /* The equivalent symbolic value */
- char *desc; /* Short description of value */
+ const char *name; /* The equivalent symbolic value */
+ const char *desc; /* Short description of value */
};
static int procfs_trace = 0;
@@ -733,7 +733,7 @@ wait_with_trace (int *wstat, char *file, int line)
}
void
-procfs_note (char *msg, char *file, int line)
+procfs_note (const char *msg, const char *file, int line)
{
prepare_to_trace ();
if (procfs_trace)