This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb main.c windows-nat.c windows-nat.h Cha ...
- From: eliz at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Sat, 23 Mar 2013 10:48:24 +0000
- Subject: src/gdb main.c windows-nat.c windows-nat.h Cha ...
CVSROOT: /cvs/src
Module name: src
Changes by: eliz@sourceware.org 2013-03-23 10:48:23
Modified files:
gdb : main.c windows-nat.c windows-nat.h ChangeLog
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/main.c.diff?cvsroot=src&r1=1.121&r2=1.122
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/windows-nat.c.diff?cvsroot=src&r1=1.244&r2=1.245
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/windows-nat.h.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15306&r2=1.15307