projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Constify command_line_input
[binutils-gdb.git]
/
gdb
/
python
/
py-gdb-readline.c
diff --git
a/gdb/python/py-gdb-readline.c
b/gdb/python/py-gdb-readline.c
index ec4ff9e13c00ef2212dfd5e077af9ebbb8872788..dcf3b83430914b3fd3c63b9f38c2ddb2241bde73 100644
(file)
--- a/
gdb/python/py-gdb-readline.c
+++ b/
gdb/python/py-gdb-readline.c
@@
-37,7
+37,8
@@
gdbpy_readline_wrapper (FILE *sys_stdin, FILE *sys_stdout,
#endif
{
int n;
- char *p = NULL, *q;
+ const char *p = NULL;
+ char *q;
try
{