Fix build bug in ada-lang.c
authorTom Tromey <tom@tromey.com>
Sat, 6 Mar 2021 16:38:26 +0000 (09:38 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 6 Mar 2021 16:38:26 +0000 (09:38 -0700)
commit01573d7360cdd9660fdc6bf48b0b7f2180f5c40c
tree13bb1e08d1a71e9ad309d0daa76b7bc1a249e8ea
parent9938d15a01031e0aded4159adaa77d5b2b2319f6
Fix build bug in ada-lang.c

An earlier patch of mine introduced a build failure in ada-lang.c.  A
couple of "to_string" calls were not namespace-qualified.  In the
failing setup, the std string_view is being used, and so (apparently)
ADL doesn't find gdb::to_string.

This patch, from the bug, fixes the problem.

gdb/ChangeLog
2021-03-06  Chernov Sergey  <klen_s@mail.ru>

PR gdb/27528:
* ada-lang.c (ada_fold_name): Use gdb::to_string.
gdb/ChangeLog
gdb/ada-lang.c