Use unique_xmalloc_ptr in breakpoint
authorTom Tromey <tom@tromey.com>
Sat, 2 Oct 2021 23:17:27 +0000 (17:17 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Oct 2021 17:00:32 +0000 (11:00 -0600)
commit6f781ee30062c822cf6475cfa070c6e7cf770de4
tree28f1176383c7f7ce9cf05ab7f7f34b93170e548f
parent23d6ee640578968b0ddef8e08d7dbb5b558a9ce9
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.
gdb/breakpoint.c
gdb/breakpoint.h
gdb/guile/scm-breakpoint.c
gdb/python/py-breakpoint.c
gdb/remote.c
gdb/tracepoint.c