aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-03-23 10:48:23 +0000
committerEli Zaretskii <eliz@gnu.org>2013-03-23 10:48:23 +0000
commitb5981e5adfd788f7cc7c062a8734a8311efda010 (patch)
treea419e457c3ab6694dba25dcd10c07635af2a3368 /gdb/ChangeLog
parent8a56bd02519985bc5f86fbe7bff927018d5880e6 (diff)
downloadgdb-b5981e5adfd788f7cc7c062a8734a8311efda010.zip
gdb-b5981e5adfd788f7cc7c062a8734a8311efda010.tar.gz
gdb-b5981e5adfd788f7cc7c062a8734a8311efda010.tar.bz2
Fix relocation of directories in the MinGW build.
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b446bd5..15e169c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.