diff options
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index f40fb04..c3b1891 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -3810,7 +3810,7 @@ sdata_make_value (struct gdbarch *gdbarch, struct internalvar *var, { /* We need to read the whole object before we know its size. */ gdb::optional<gdb::byte_vector> buf - = target_read_alloc (¤t_target, TARGET_OBJECT_STATIC_TRACE_DATA, + = target_read_alloc (target_stack, TARGET_OBJECT_STATIC_TRACE_DATA, NULL); if (buf) { |