diff options
author | Keith Seitz <keiths@redhat.com> | 2013-10-02 00:46:06 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2013-10-02 00:46:06 +0000 |
commit | c85cddc51d5d9e4423509a2dc7cf3d9809451b49 (patch) | |
tree | f4d948ed91161a563c7dd24c56197f183a50a24a /gdb/cli/cli-cmds.c | |
parent | 9cb8e9ab9d225807a721e2b6d520e663fc2fbb81 (diff) | |
download | gdb-c85cddc51d5d9e4423509a2dc7cf3d9809451b49.tar.gz |
Constification of parse_linespec and fallout:
https://sourceware.org/ml/gdb-patches/2013-09/msg01017.html
https://sourceware.org/ml/gdb-patches/2013-09/msg01018.html
https://sourceware.org/ml/gdb-patches/2013-09/msg01019.html
https://sourceware.org/ml/gdb-patches/2013-09/msg01020.html
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 4317ea351fb..886ba7a6f40 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -666,7 +666,7 @@ source_command (char *args, int from_tty) static void echo_command (char *text, int from_tty) { - char *p = text; + const char *p = text; int c; if (text) |