Use std::string in execute_script_contents
authorTom Tromey <tom@tromey.com>
Thu, 8 Feb 2018 19:06:44 +0000 (12:06 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 9 Feb 2018 12:53:21 +0000 (05:53 -0700)
commita37a2ae7080898244de86d136961de81fe28a434
tree5768ea23e9f3c344f19c0841d50c90826a71d55e
parent4e7253479941cd6d59a0c8efbb1113d3734b7f56
Use std::string in execute_script_contents

This changes execute_script_contents to use a std::string, allowing
the removal of a cleanup.

2018-02-09  Tom Tromey  <tom@tromey.com>

* auto-load.c (execute_script_contents): Use std::string.
gdb/ChangeLog
gdb/auto-load.c