C++-ify minidebug.c
authorTom Tromey <tom@tromey.com>
Mon, 14 Aug 2023 19:45:26 +0000 (13:45 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 17 Aug 2023 23:41:05 +0000 (17:41 -0600)
commite76d241a64cc02accc1717b5df9624a9dbb31598
treedb4764112d718676e58fb7b9f6c6fd764c4398b5
parent1f572864da9682a7d423477b1795b7dacc1f11da
C++-ify minidebug.c

I noticed minidebug.c was still using explicit malloc and free, where
a vector would be more automatic.

Reviewed-by: John Baldwin <jhb@FreeBSD.org>
gdb/minidebug.c