Don't use struct buffer in event-top.c
authorTom Tromey <tom@tromey.com>
Fri, 16 Dec 2022 19:45:40 +0000 (12:45 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 24 Feb 2023 18:52:48 +0000 (11:52 -0700)
commit356628ee2a1ac34e705697967105dfbbcd7fd033
tree67fc6b51effc2743b2514fa3767fd1eded5c1322
parent71a64d8ba873b5618e357e85d6536d6fdd466aa6
Don't use struct buffer in event-top.c

This changes event-top.c to use std::string rather than struct buffer.
This isn't completely ideal, in that it requires a copy of the string
to be made.
gdb/event-top.c