diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/win32-nat.c | 2 | ||||
-rw-r--r-- | gdb/windows-nat.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b15d81b..370f829 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index ec014b3..40733a8 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -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; diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index ec014b3..40733a8 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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; |