Constify value_string
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 18 Nov 2015 16:20:22 +0000 (11:20 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 18 Nov 2015 16:20:22 +0000 (11:20 -0500)
commit7cc3f8e23b5c19a50722adefce986230b191e9cd
treec201525c8f0e3fab6971bce155966f36a62bd494
parent79f338988c53625a3ab3fba63f06c6ffd224e9ff
Constify value_string

If we constify value_cstring, we might as well constify this one.

gdb/ChangeLog:

* valops.c (value_string): Constify 'ptr' parameter.
* value.h (value_string): Constify 'ptr' parameter.
gdb/ChangeLog
gdb/valops.c
gdb/value.h