]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: add overloads of gdb_abspath
authorAndrew Burgess <aburgess@redhat.com>
Wed, 19 Jun 2024 10:12:28 +0000 (11:12 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Thu, 27 Jun 2024 14:15:25 +0000 (15:15 +0100)
commit88aad97c21de7a39f8e63467674ef936b3e9a86d
tree0e16dd7c4311ff0af6108ff717a182b4de618740
parent973563710c2f7c184fb6769e1b1d0fc5f3f181f5
gdb: add overloads of gdb_abspath

Add two overloads of gdb_abspath, one which takes std::string and one
which takes gdb::unique_xmalloc_ptr<char>, then 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/bsd-kvm.c
gdb/corelow.c
gdb/dwarf2/index-cache.c
gdb/main.c
gdb/top.c
gdb/tracefile-tfile.c
gdbserver/server.cc
gdbsupport/pathstuff.h