diff options
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r-- | gdb/c-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c index ec2e060..e4027d8 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -301,7 +301,7 @@ c_get_string (struct value *value, gdb::unique_xmalloc_ptr<gdb_byte> *buffer, && (*length < 0 || *length <= fetchlimit)) { int i; - const gdb_byte *contents = value_contents (value).data (); + const gdb_byte *contents = value->contents ().data (); /* If a length is specified, use that. */ if (*length >= 0) |