This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Avoid warnings from newer Cygwin DLLS


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.

ndex: win32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/win32-nat.c,v
retrieving revision 1.145
diff -d -u -p -r1.145 win32-nat.c
--- win32-nat.c 1 Jan 2008 18:42:08 -0000       1.145
+++ win32-nat.c 6 Jan 2008 06:57:21 -0000
@@ -656,7 +656,7 @@ win32_make_so (const char *name, DWORD l
       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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]