diff options
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/value.h b/gdb/value.h index 317d4ef8ce6..db4dcc1dd43 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -339,7 +339,6 @@ extern struct value *value_from_pointer (struct type *type, CORE_ADDR addr); extern struct value *value_from_double (struct type *type, DOUBLEST num); extern struct value *value_from_decfloat (struct type *type, const gdb_byte *decbytes); -extern struct value *value_from_string (char *string); extern struct value *value_at (struct type *type, CORE_ADDR addr); extern struct value *value_at_lazy (struct type *type, CORE_ADDR addr); @@ -381,9 +380,10 @@ extern struct value *value_mark (void); extern void value_free_to_mark (struct value *mark); -extern struct value *value_typed_string (char *ptr, int len, - struct type *char_type); -extern struct value *value_string (char *ptr, int len); +extern struct value *value_cstring (char *ptr, int len, + struct type *char_type); +extern struct value *value_string (char *ptr, int len, + struct type *char_type); extern struct value *value_bitstring (char *ptr, int len); extern struct value *value_array (int lowbound, int highbound, |