diff options
Diffstat (limited to 'gdb/dwarf2/read.c')
-rw-r--r-- | gdb/dwarf2/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index e456c37..bd07546 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -10045,7 +10045,7 @@ dwarf2_compute_name (const char *name, else if (bytes != NULL) { v = allocate_value (type); - memcpy (value_contents_writeable (v), bytes, + memcpy (value_contents_writeable (v).data (), bytes, TYPE_LENGTH (type)); } else |