]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: Remove uses of gdb::to_string (const std::string_view &)
authorLancelot Six <lancelot.six@amd.com>
Fri, 13 Oct 2023 10:54:46 +0000 (10:54 +0000)
committerLancelot Six <lancelot.six@amd.com>
Tue, 21 Nov 2023 11:52:36 +0000 (11:52 +0000)
commit882b0505164f9474ef565cbc237df34a65061a8f
tree1e9784ba6c4f4ef6075792c62b16e464b364e7a2
parent8082468ffe65095cdd640fb081b9d3d28dd7add4
gdb: Remove uses of gdb::to_string (const std::string_view &)

This patch removes all uses of to_string(const std::string_view&) and
use the std::string ctor or implicit conversion from std::string_view to
std::string instead.

A later patch will remove this gdb::to_string while removing
gdbsupport/gdb_string_view.h.

Change-Id: I877cde557a0727be7b0435107e3c7a2aac165895
Approved-By: Tom Tromey <tom@tromey.com>
Approved-By: Pedro Alves <pedro@palves.net>
gdb/ada-lang.c
gdb/amdgpu-tdep.c
gdb/debuginfod-support.c
gdb/dwarf2/read.c
gdb/eval.c
gdb/solib-rocm.c