]> Git Repo - binutils.git/commit - gdb/source.c
gdbsupport: make gdb_abspath return an std::string
authorSimon Marchi <[email protected]>
Wed, 13 Apr 2022 21:31:02 +0000 (17:31 -0400)
committerSimon Marchi <[email protected]>
Mon, 18 Apr 2022 19:48:03 +0000 (15:48 -0400)
commit7ab2607f97e5deaeae91018edf3ef5b4255a842c
treef1fea75412b59b147691af35019eb6d940f062b0
parente0c34637019b0a070780b57b50d9026c0aca16f4
gdbsupport: make gdb_abspath return an std::string

I'm trying to switch these functions to use std::string instead of char
arrays, as much as possible.  Some callers benefit from it (can avoid
doing a copy of the result), while others suffer (have to make one more
copy).

Change-Id: Iced49b8ee2f189744c5072a3b217aab5af17a993
gdb/compile/compile.c
gdb/corelow.c
gdb/dwarf2/index-cache.c
gdb/main.c
gdb/objfiles.c
gdb/source.c
gdb/top.c
gdb/tracefile-tfile.c
gdbserver/server.cc
gdbsupport/pathstuff.cc
gdbsupport/pathstuff.h
This page took 0.029589 seconds and 4 git commands to generate.