Change auto_load_objfile_script_1 to use std::string
authorTom Tromey <tom@tromey.com>
Fri, 16 Mar 2018 23:02:11 +0000 (17:02 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 17 Mar 2018 19:28:56 +0000 (13:28 -0600)
commita06ab151cbab6f3da8735d2e5e06ede9454ca4c1
tree550b9707d404b9b8d44bc28fa55b504c76077ce6
parent770623f79f7fdff38f62c641438759748cf3f138
Change auto_load_objfile_script_1 to use std::string

This replaces some manual string manipulation in
auto_load_objfile_script_1 with std::string, simplifying the code and
allowing the removal of some cleanups.

Tested by the buildbot.

2018-03-17  Tom Tromey  <tom@tromey.com>

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