gdb: convert linux-osdata.c from buffer to std::string
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 16 Dec 2022 03:01:19 +0000 (22:01 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 16 Dec 2022 13:33:12 +0000 (08:33 -0500)
commite60a615dde5d6674a6488b74afe807a775551407
treeb524aa3b2597a15f08b27110d483a66a2bd2a2d4
parent65cded61a2219719df46066880ccc80c45112130
gdb: convert linux-osdata.c from buffer to std::string

Replace the use of struct buffer in linux-osdata.c with std::string.
There is no change in the logic, so there should be no user-visible
change.

Change-Id: I27f53165d401650bbd0bebe8ed88221e25545b3f
Approved-By: Pedro Alves <pedro@palves.net>
gdb/nat/linux-osdata.c