mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Constify value_cstring
gdb/ChangeLog: 2015-11-18 Simon Marchi <simon.marchi@ericsson.com> * valops.c (value_cstring): Constify 'ptr' parameter. * value.h (value_cstring): Constify 'ptr' parameter.
This commit is contained in:

committed by
Pedro Alves

parent
b53e4c0e7c
commit
e3a3797ee5
@ -696,7 +696,7 @@ extern struct value *value_mark (void);
|
||||
|
||||
extern void value_free_to_mark (struct value *mark);
|
||||
|
||||
extern struct value *value_cstring (char *ptr, ssize_t len,
|
||||
extern struct value *value_cstring (const char *ptr, ssize_t len,
|
||||
struct type *char_type);
|
||||
extern struct value *value_string (char *ptr, ssize_t len,
|
||||
struct type *char_type);
|
||||
|
Reference in New Issue
Block a user