diff options
author | Tom Tromey <tom@tromey.com> | 2021-10-02 17:17:27 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-10-20 11:00:32 -0600 |
commit | 6f781ee30062c822cf6475cfa070c6e7cf770de4 (patch) | |
tree | 28f1176383c7f7ce9cf05ab7f7f34b93170e548f /gdb/tracepoint.c | |
parent | 23d6ee640578968b0ddef8e08d7dbb5b558a9ce9 (diff) | |
download | binutils-6f781ee30062c822cf6475cfa070c6e7cf770de4.zip binutils-6f781ee30062c822cf6475cfa070c6e7cf770de4.tar.gz binutils-6f781ee30062c822cf6475cfa070c6e7cf770de4.tar.bz2 |
Use unique_xmalloc_ptr in breakpoint
This changes struct breakpoint to use unique_xmalloc_ptr in a couple
of spots, removing a bit of manual memory management.
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 3997d21..df5013e4 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -3094,7 +3094,7 @@ find_matching_tracepoint_location (struct uploaded_tp *utp) if (b->type == utp->type && t->step_count == utp->step && t->pass_count == utp->pass - && cond_string_is_same (t->cond_string, + && cond_string_is_same (t->cond_string.get (), utp->cond_string.get ()) /* FIXME also test actions. */ ) |