Index: gdb/i386-cygwin-tdep.c |
diff --git a/gdb/i386-cygwin-tdep.c b/gdb/i386-cygwin-tdep.c |
index fb940f8b7581abfe480ede2ab927a18ec162c183..bb395e79c8ebbbe566101a47e5e3a9b90210bcbc 100644 |
--- a/gdb/i386-cygwin-tdep.c |
+++ b/gdb/i386-cygwin-tdep.c |
@@ -257,6 +257,9 @@ i386_cygwin_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
/* Canonical paths on this target look like |
`c:\Program Files\Foo App\mydll.dll', for example. */ |
set_gdbarch_has_dos_based_file_system (gdbarch, 1); |
+ |
+ set_gdbarch_iterate_over_objfiles_in_search_order |
+ (gdbarch, windows_iterate_over_objfiles_in_search_order); |
} |
static enum gdb_osabi |