* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when

using MS-DOS paths.
This commit is contained in:
Christopher Faylor 2008-01-06 06:59:14 +00:00
parent d391083d3c
commit 610dd7f9a6
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
when using MS-DOS paths.
2008-01-05 Pedro Alves <pedro@codesourcery.com>
* NEWS: Mention --pid and --core command line behaviour changes.

View File

@ -656,7 +656,7 @@ win32_make_so (const char *name, DWORD load_addr)
asection *text = NULL;
CORE_ADDR text_vma;
abfd = bfd_openr (name, "pei-i386");
abfd = bfd_openr (so->so_name, "pei-i386");
if (!abfd)
return so;

View File

@ -656,7 +656,7 @@ win32_make_so (const char *name, DWORD load_addr)
asection *text = NULL;
CORE_ADDR text_vma;
abfd = bfd_openr (name, "pei-i386");
abfd = bfd_openr (so->so_name, "pei-i386");
if (!abfd)
return so;