"ntdll.dll", prepend the system directory to the dll path.
+2009-11-26 Pedro Alves <pedro@codesourcery.com>
+
+ * win32-low.c (win32_add_one_solib): If the dll name is
+ "ntdll.dll", prepend the system directory to the dll path.
+
2009-11-17 Daniel Jacobowitz <dan@codesourcery.com>
* m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization.
#endif
}
+#ifndef _WIN32_WCE
+ if (strcasecmp (buf, "ntdll.dll") == 0)
+ {
+ GetSystemDirectoryA (buf, sizeof (buf));
+ strcat (buf, "\\ntdll.dll");
+ }
+#endif
+
#ifdef __CYGWIN__
cygwin_conv_to_posix_path (buf, buf2);
#else