aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2008-01-06 06:59:14 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2008-01-06 06:59:14 +0000
commit610dd7f9a65ac0438941373c8986df1563ad4b46 (patch)
treed2ddaeaa0b05b385b3783e73539ae4947c8a5161 /gdb
parentd391083d3c938e56a0d0f3e03867d91369198d35 (diff)
downloadgdb-610dd7f9a65ac0438941373c8986df1563ad4b46.zip
gdb-610dd7f9a65ac0438941373c8986df1563ad4b46.tar.gz
gdb-610dd7f9a65ac0438941373c8986df1563ad4b46.tar.bz2
* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings when
using MS-DOS paths.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/win32-nat.c2
-rw-r--r--gdb/windows-nat.c2
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;