]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: add overloads of gdb_tilde_expand
authorAndrew Burgess <aburgess@redhat.com>
Wed, 19 Jun 2024 10:13:14 +0000 (11:13 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 27 Jun 2024 14:15:26 +0000 (15:15 +0100)
commit632c5372771a6f167f3be554b2f84582169ffc07
treea89a65b565b0d3631729a40651f2d880f16a5206
parent88aad97c21de7a39f8e63467674ef936b3e9a86d
gdb: add overloads of gdb_tilde_expand

Like the previous commit, add two overloads of gdb_tilde_expand, one
takes std::string and other takes gdb::unique_xmalloc_ptr<char>.  Make
use of these overloads throughout GDB and gdbserver.

There should be no user visible changes after this commit.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/completer.c
gdb/nat/fork-inferior.c
gdbserver/win32-low.cc
gdbsupport/gdb_tilde_expand.h