aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-10-16 18:43:25 +0000
committerPedro Alves <palves@redhat.com>2007-10-16 18:43:25 +0000
commit10325bc5c491d96c500e6b66ba0aa882571697a0 (patch)
tree92f0da0a39337f3d5ecca744382f21267e88ec44 /gdb/config
parent00e3c4762a82955619b08df3d17e871f3907eb5c (diff)
downloadgdb-10325bc5c491d96c500e6b66ba0aa882571697a0.zip
gdb-10325bc5c491d96c500e6b66ba0aa882571697a0.tar.gz
gdb-10325bc5c491d96c500e6b66ba0aa882571697a0.tar.bz2
* 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/config')
-rw-r--r--gdb/config/i386/mingw.mh4
-rw-r--r--gdb/config/i386/mingw.mt3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/i386/mingw.mh b/gdb/config/i386/mingw.mh
new file mode 100644
index 0000000..36f6cc5
--- /dev/null
+++ b/gdb/config/i386/mingw.mh
@@ -0,0 +1,4 @@
+MH_CFLAGS=
+NATDEPFILES= i386-nat.o win32-nat.o
+NAT_FILE=nm-cygwin.h
+XM_CLIBS=
diff --git a/gdb/config/i386/mingw.mt b/gdb/config/i386/mingw.mt
new file mode 100644
index 0000000..8ec3c44
--- /dev/null
+++ b/gdb/config/i386/mingw.mt
@@ -0,0 +1,3 @@
+# Target: Intel 386 run win32
+TDEPFILES= i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
+ solib-target.o corelow.o