This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog main.c main.h mingw-hdep.c


CVSROOT:	/cvs/src
Module name:	src
Branch: 	gdb_7_6-branch
Changes by:	eliz@sourceware.org	2013-04-06 06:47:29

Modified files:
	gdb            : ChangeLog main.c main.h mingw-hdep.c 

Log message:
	Fix GDB relocation on MinGW.
	
	* mingw-hdep.c (windows_get_absolute_argv0): New function.
	Include main.h.
	
	* main.h (windows_get_absolute_argv0): Add 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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.15260.2.34&r2=1.15260.2.35
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/main.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.120&r2=1.120.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/main.h.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.16&r2=1.16.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mingw-hdep.c.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.15&r2=1.15.2.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]