Remove cleanup from display_gdb_prompt
authorTom Tromey <tom@tromey.com>
Thu, 28 Sep 2017 02:30:19 +0000 (20:30 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 30 Sep 2017 02:46:43 +0000 (20:46 -0600)
commit606aae8a73177dde47ff01a6eb7ec883309bdfa6
treedc8232245f167473682fb34f5e243b08c35ef45d
parentbd413795d364d3bed8dbb8c596cb45c82ed31041
Remove cleanup from display_gdb_prompt

This removes a cleanup from display_gdb_prompt by using std::string.

gdb/ChangeLog
2017-09-29  Tom Tromey  <tom@tromey.com>

* event-top.c (top_level_prompt): Return std::string.
(display_gdb_prompt): Update.
gdb/ChangeLog
gdb/event-top.c