Use std::string for interpreter_p
authorTom Tromey <tromey@adacore.com>
Fri, 17 Jun 2022 16:01:45 +0000 (10:01 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 22 Jun 2022 19:28:55 +0000 (13:28 -0600)
commitb2a696a8810f2ec36765c9bdcb56e62737376caf
tree361a670c4689d248a8ef04c0c61417f969c54cb3
parentee04bfc01e51faae3fb64f6582f0e207d3ad898d
Use std::string for interpreter_p

The global interpreter_p is a manually-managed 'char *'.  This patch
changes it to be a std::string instead, and removes some erroneous
comments.
gdb/interps.c
gdb/main.c
gdb/main.h
gdb/tui/tui-interp.c