diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-03-23 10:48:23 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-03-23 10:48:23 +0000 |
commit | 39053f2aadca35cad2917c6460afa1dce6fb426b (patch) | |
tree | a2daba9a3700a305047a3ff17eadf7713c76c840 /sim | |
parent | 42b99600f648a2cf79c57fe9212b7fa3ec27b17d (diff) | |
download | gdb-39053f2aadca35cad2917c6460afa1dce6fb426b.tar.gz |
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 'sim')
0 files changed, 0 insertions, 0 deletions