]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use string_view in cli-decode.c:find_cmd
authorTom Tromey <tromey@adacore.com>
Thu, 22 Jan 2026 20:17:25 +0000 (13:17 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 29 Jan 2026 19:43:52 +0000 (12:43 -0700)
commitacb56ccad3da5495014e170fc0dd3f05819d630a
treebb7cc47217db221299afdd7ccdfe616d7dc94646
parent91bf037a394e4bc1dc885aed39fc745fd516fe56
Use string_view in cli-decode.c:find_cmd

This changes cli-decode.c:find_cmd to use std::string_view.  I've made
this a separate patch to make the next patch more obvious.

Approved-By: Kevin Buettner <kevinb@redhat.com>
gdb/cli/cli-decode.c