aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>2017-02-07 14:17:03 +0100
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2017-02-07 16:25:53 +0100
commit75d79af4135482bb3cb4b9c348439c64a8e29ca2 (patch)
treee0820e5cf2b3974fa73018b8496ee7601d2a1855 /gdb/xml-support.c
parentc48c4ca2318c992e196c48eb96060a7405c4a814 (diff)
downloadgdb-75d79af4135482bb3cb4b9c348439c64a8e29ca2.zip
gdb-75d79af4135482bb3cb4b9c348439c64a8e29ca2.tar.gz
gdb-75d79af4135482bb3cb4b9c348439c64a8e29ca2.tar.bz2
Add libiberty/concat styled concat_path function
This commit adds concat_path function to concatenate an arbitrary number of path elements. The function automatically adds an directory separator between two elements as needed. gdb/ChangeLog: * common/common-utils.h (endswith): New function. * utils.c (_concat_path, approx_path_length): New function. * utils.h (_concat_path): New export. (concat_path): New define.
Diffstat (limited to 'gdb/xml-support.c')
0 files changed, 0 insertions, 0 deletions