Use std::string in linux-osdata.c
authorTom Tromey <tom@tromey.com>
Sat, 17 Jun 2023 19:32:09 +0000 (13:32 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 20 Jun 2023 13:52:28 +0000 (07:52 -0600)
commitb68e4ea64e99831032c5fc613ec432448cfc0c84
treef9368036751ed747ec4ef5721d5d61042f7cb5e9
parent8ca8b801ed4d786b11dc7e29093b904850e8a406
Use std::string in linux-osdata.c

I found some code in linux-osdata that manually managed a string.
Replacing this with std::string simplifies it.

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