diff options
author | Tom Tromey <tom@tromey.com> | 2018-02-22 16:31:15 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-13 17:41:12 -0600 |
commit | b577b6af8e7f4cc53e73ee01188d1700fb8d3b82 (patch) | |
tree | e0c9db0a28e74b5b6e1f8153345e43b451a68928 /bfd/version.h | |
parent | e45ad1239d7d8591d5e80d8cbba7d404c6c3640f (diff) | |
download | gdb-b577b6af8e7f4cc53e73ee01188d1700fb8d3b82.zip gdb-b577b6af8e7f4cc53e73ee01188d1700fb8d3b82.tar.gz gdb-b577b6af8e7f4cc53e73ee01188d1700fb8d3b82.tar.bz2 |
Remove two cleanups using std::string
This patches removes cleanups from a couple of spots by using
std::string rather than manual memory management.
Regression tested by the buildbot, though note that I don't believe
the buildbot actually exercises the machoread code.
gdb/ChangeLog
2018-03-13 Tom Tromey <tom@tromey.com>
* machoread.c (macho_check_dsym): Change filenamep to a
std::string*.
(macho_symfile_read): Update.
* symfile.c (load_command): Use std::string.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions