Move mkdir_recursive to common/filestuff.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b9ffa69451b3896925962f5f318bc6deb8c8a6aa..0f7078c3f81a53f8c26e735e50b6d0f39965d6b2 100644 (file)
@@ -1,3 +1,17 @@
+2018-10-27  Tom Tromey  <tom@tromey.com>
+
+       * unittests/mkdir-recursive-selftests.c: New file.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/mkdir-recursive-selftests.c.
+       * dwarf-index-cache.c (mkdir_recursive): Move to
+       common/filestuff.c.
+       (index_cache::store): Check return value of mkdir_recursive.
+       (create_dir_and_check, test_mkdir_recursive): Move to new file.
+       (_initialize_index_cache): Don't register test.
+       * common/filestuff.h (mkdir_recursive): Declare.
+       * common/filestuff.c (mkdir_recursive): Move from
+       dwarf-index-cache.c.  Return bool.
+
 2018-10-27  Tom Tromey  <tom@tromey.com>
 
        * dwarf-index-write.c (write_psymtabs_to_index): Move
This page took 0.02853 seconds and 4 git commands to generate.