From: Christopher Faylor Date: Sun, 6 Jan 2008 06:59:14 +0000 (+0000) Subject: * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when X-Git-Tag: sid-snapshot-20080201~267 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=610dd7f9a65ac0438941373c8986df1563ad4b46;p=thirdparty%2Fbinutils-gdb.git * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when using MS-DOS paths. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b15d81b1642..370f829d240 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-01-06 Christopher Faylor + + * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings + when using MS-DOS paths. + 2008-01-05 Pedro Alves * NEWS: Mention --pid and --core command line behaviour changes. diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index ec014b3e911..40733a856b9 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 ec014b3e911..40733a856b9 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;