]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use make_unique_xstrdup in tracepoint
authorTom Tromey <tromey@adacore.com>
Thu, 15 Jan 2026 15:33:06 +0000 (08:33 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 16 Jan 2026 14:44:33 +0000 (07:44 -0700)
commitc02564ad427577cb4fa9fafc1ac9992c04007208
treec4e36e16da817db365e083f2995b15a673252d9d
parent4f148246ca8e2a9480cd8f5a1a56c38928255893
Use make_unique_xstrdup in tracepoint

This changes the tracepoint code to use make_unique_xstrdup (and
make_unique_xstrndup).  This meant changing the types of some members
of uploaded_tp -- but it seems to me that using array types there did
not add any value.

Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/tracepoint.c
gdb/tracepoint.h