summaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2007-10-16 18:43:25 +0000
committerPedro Alves <pedro@codesourcery.com>2007-10-16 18:43:25 +0000
commit57b485f950c87af41263401d8f990eb78871253a (patch)
treeb6b5106cd296af776023de4b033a0bbd112a59ef /gdb/configure.tgt
parent0a3e31a04b713436fbd036bca000baf20ded9978 (diff)
downloadgdb-57b485f950c87af41263401d8f990eb78871253a.tar.gz
* config/i386/mingw.mh, config/i386/mingw.mt: New files.
* configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. * win32-nat.c: Only include cygwin.h on Cygwin host. Don't include procfs.h. (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable if not building on Cygwin. (win32_make_so, handle_output_debug_string, handle_exception) (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. (win32_attach): Only fallback to Cygwin pids if building on Cygwin. (win32_pid_to_exec_file): Disable Cygwin specific code, if not building on Cygwin. (win32_create_inferior): Disable starting the inferior through a shell, environment var processing and tty handling if not building on Cygwin. (cygwin_pid_to_str): Rename to ... (win32_pid_to_str): ... this. (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" and "cygwin-exceptions" commands if not building on Cygwin.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 025bc977da6..cf5a6e36df9 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -120,7 +120,7 @@ i[34567]86-*-gnu*) gdb_target=i386gnu ;;
i[34567]86-*-cygwin*) gdb_target=cygwin
build_gdbserver=yes
;;
-i[34567]86-*-mingw32*) gdb_target=i386
+i[34567]86-*-mingw32*) gdb_target=mingw
build_gdbserver=yes
;;
i[34567]86-*-*) gdb_target=i386 ;;