aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
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/win32-nat.c
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/win32-nat.c')
-rw-r--r--gdb/win32-nat.c2
1 files changed, 1 insertions, 1 deletions
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;