]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Fix relocation of directories in the MinGW build.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index b446bd53a04d562e8594e1e26f09082df892216f..15e169ca301e145622c53122600166f73f7a9cb9 100644 (file)
@@ -1,3 +1,15 @@
+2013-03-23  Eli Zaretskii  <eliz@gnu.org>
+
+       * windows-nat.c (windows_get_absolute_argv0): New function.
+       * windows-nat.h: Add its prototype.
+
+       * main.c (get_init_files): Use filename_ncmp instead of strncmp.
+       Use IS_DIR_SEPARATOR instead of looking for a character inside
+       SLASH_STRING.  Include filenames.h.
+       (captured_main) [__MINGW32__]: Make argv[0] absolute, so that
+       relocate_gdb_directory works when passed gdb_program_name.
+       Include windows-nat.h.
+
 2013-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.