diff options
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 0c9f048..0aa23d7 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -433,7 +433,7 @@ varobj_create (char *objname, if (expression != NULL) { - char *p; + const char *p; enum varobj_languages lang; /* Parse and evaluate the expression, filling in as much @@ -795,7 +795,7 @@ varobj_set_value (struct varobj *var, char *expression) if (var->value != NULL && variable_editable (var) && !var->error) { - char *s = expression; + const char *s = expression; int i; input_radix = 10; /* ALWAYS reset to decimal temporarily */ |