aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorLancelot Six <lancelot.six@amd.com>2023-10-13 10:54:46 +0000
committerLancelot Six <lancelot.six@amd.com>2023-11-21 11:52:36 +0000
commit882b0505164f9474ef565cbc237df34a65061a8f (patch)
tree1e9784ba6c4f4ef6075792c62b16e464b364e7a2 /gdb/eval.c
parent8082468ffe65095cdd640fb081b9d3d28dd7add4 (diff)
downloadfsf-binutils-gdb-882b0505164f9474ef565cbc237df34a65061a8f.zip
fsf-binutils-gdb-882b0505164f9474ef565cbc237df34a65061a8f.tar.gz
fsf-binutils-gdb-882b0505164f9474ef565cbc237df34a65061a8f.tar.bz2
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>
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 8664d49..3358b0d 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -37,7 +37,6 @@
#include "user-regs.h"
#include "valprint.h"
#include "gdbsupport/gdb_obstack.h"
-#include "gdbsupport/gdb_string_view.h"
#include "objfiles.h"
#include "typeprint.h"
#include <ctype.h>