]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Change substitute_path_component to use std::string
authorTom Tromey <tom@tromey.com>
Sat, 19 Apr 2025 20:50:01 +0000 (14:50 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 8 May 2025 17:13:28 +0000 (11:13 -0600)
commit09828ac2f1327cd1bcd6f8223820c88c9338de75
tree78c9a9d36bc55a1d1177e31ce8a4b5777a18ec48
parent440b7ed4a4bb8da7030244df8088b0b29a0211e6
Change substitute_path_component to use std::string

This changes substitute_path_component to use std::string and
std::string_view, simplifying it greatly and removing some manual
memory management.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/auto-load.c