diff options
Diffstat (limited to 'gdb/ada-tasks.c')
-rw-r--r-- | gdb/ada-tasks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index 9a5bcc6..32fbc14 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -401,7 +401,7 @@ iterate_over_live_ada_tasks (ada_task_list_iterator_ftype iterator) static void value_as_string (char *dest, struct value *val, int length) { - memcpy (dest, value_contents (val), length); + memcpy (dest, value_contents (val).data (), length); dest[length] = '\0'; } |