bsd-kvm: Fix build after recent changes to path handling functions.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 26 Apr 2022 16:13:12 +0000 (09:13 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 26 Apr 2022 16:14:25 +0000 (09:14 -0700)
commitc62dced2d48a8a3a818c87d0d9d41709fe7997d9
tree7651b960e8ecbb45dbf537176f029357f630944b
parent6bdd7cf11d503be3b85320668b223fcd5cc9f2f4
bsd-kvm: Fix build after recent changes to path handling functions.

Convert bsd_kvm_corefile and the local filename in bsd_kvm_open to
std::string rather than simple char * pointers freed by xfree.
gdb/bsd-kvm.c