gdb: clean up some inefficient std::string usage
authorAndrew Burgess <aburgess@redhat.com>
Thu, 15 Dec 2022 16:50:57 +0000 (16:50 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 16 Dec 2022 12:57:37 +0000 (12:57 +0000)
commit38c0c0cac9f4b0298312ca6791db155dfaaf8442
treecf2ce141af06f96de47d13b3369c93ac9e9df461
parentfa501b69309ccb03ec957101f24109ed7f737733
gdb: clean up some inefficient std::string usage

This commit:

  commit 53cf95c3389a3ecd97276d322e4a60fe3396a201
  Date:   Wed Dec 14 14:17:44 2022 +0000

      gdb: make more use of make_target_connection_string

Introduced a couple of inefficient uses of std::string, both of which
are fixed in this commit.

There should be no user visible changes after this commit.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/inferior.c
gdb/target-connection.c