From 02601231fdd91a7bd4837ce202906ea2ce661489 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 4 Apr 2023 12:50:03 -0600 Subject: Simplify auto_load_expand_dir_vars and remove substitute_path_component This simplifies auto_load_expand_dir_vars to first split the string, then do any needed substitutions. This was suggested by Simon, and is much simpler than the current approach. Then this patch also removes substitute_path_component, as it is no longer called. This is nice because it helps with the long term goal of removing utils.h. Regression tested on x86-64 Fedora 36. --- gdb/Makefile.in | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 6af6535..93f506ee 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -489,7 +489,6 @@ SELFTESTS_SRCS = \ unittests/ui-file-selftests.c \ unittests/unique_xmalloc_ptr_char.c \ unittests/unpack-selftests.c \ - unittests/utils-selftests.c \ unittests/vec-utils-selftests.c \ unittests/xml-utils-selftests.c -- cgit v1.1