* remote-mips.c (gdb_usleep.h): Include header.
(mips_enter_debug): Use gdb_usleep instead of sleep.
+2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix mingw compilation with --enable-targets=all.
+ * remote-mips.c (gdb_usleep.h): Include header.
+ (mips_enter_debug): Use gdb_usleep instead of sleep.
+
2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Support resolution of STT_GNU_IFUNC via breakpoints.
#include "exceptions.h"
#include "gdb_string.h"
#include "gdb_stat.h"
+#include "gdb_usleep.h"
#include "regcache.h"
#include <ctype.h>
#include "mips-tdep.h"
else /* Assume IDT monitor by default. */
mips_send_command ("db tty0\r", 0);
- sleep (1);
+ gdb_usleep (1000000);
serial_write (mips_desc, "\r", sizeof "\r" - 1);
/* We don't need to absorb any spurious characters here, since the