aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2000-02-24 03:31:45 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2000-02-24 03:31:45 +0000
commit091be84d73b3a4f706d2e566df4e11f7b5fd625a (patch)
treeedf9e0dd85d4d0f4e5bed69566030eaa19fd344b /gdb/config
parentabd63a324ba0be30ce0f6287400984b5a4560099 (diff)
downloadgdb-091be84d73b3a4f706d2e566df4e11f7b5fd625a.zip
gdb-091be84d73b3a4f706d2e566df4e11f7b5fd625a.tar.gz
gdb-091be84d73b3a4f706d2e566df4e11f7b5fd625a.tar.bz2
* configure.tgt: Add arm, mips, sh wince targets.
* config/arm/tm-wince.h: New file. * config/arm/wince.mt New file. * config/sh/tm-wince.h: New file. * config/sh/wince.mt New file. * config/mips/tm-wince.h: New file. * config/mips/wince.mt New file. * wince.c: New file. * wince-stub.c: New file. * wince-stub.h: New file. * sh-tdep.c: Use correct register names for Windows CE.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/arm/tm-wince.h37
-rw-r--r--gdb/config/arm/wince.mt5
-rw-r--r--gdb/config/mips/tm-wince.h34
-rw-r--r--gdb/config/mips/wince.mt5
-rw-r--r--gdb/config/sh/tm-wince.h34
-rw-r--r--gdb/config/sh/wince.mt5
6 files changed, 120 insertions, 0 deletions
diff --git a/gdb/config/arm/tm-wince.h b/gdb/config/arm/tm-wince.h
new file mode 100644
index 0000000..9b46135
--- /dev/null
+++ b/gdb/config/arm/tm-wince.h
@@ -0,0 +1,37 @@
+/* Definitions to target GDB for Windows CE target
+ Copyright 2000 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TM_WINCE_H
+#define TM_WINCE_H
+
+#include "arm/tm-arm.h"
+
+#undef SOFTWARE_SINGLE_STEP_P
+#define SOFTWARE_SINGLE_STEP_P 1
+
+#undef SOFTWARE_SINGLE_STEP
+#define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
+
+void wince_software_single_step (unsigned int, int);
+
+#undef TARGET_BYTE_ORDER_SELECTABLE
+#define TARGET_BYTE_ORDER LITTLE_ENDIAN
+
+#endif /* TM_WINCE_H */
diff --git a/gdb/config/arm/wince.mt b/gdb/config/arm/wince.mt
new file mode 100644
index 0000000..10fe0eb
--- /dev/null
+++ b/gdb/config/arm/wince.mt
@@ -0,0 +1,5 @@
+# Target: Acorn RISC machine (ARM) with simulator
+TDEPFILES= arm-tdep.o wince.o
+TM_FILE= tm-wince.h
+MT_CFLAGS=-DARM -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
+WIN32LIBS=-lrapi
diff --git a/gdb/config/mips/tm-wince.h b/gdb/config/mips/tm-wince.h
new file mode 100644
index 0000000..f4bfad2
--- /dev/null
+++ b/gdb/config/mips/tm-wince.h
@@ -0,0 +1,34 @@
+/* Definitions to make GDB run on a Windows CE system.
+ Copyright 2000 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TM_MIPS_H
+#define TM_MIPS_H 1
+
+#include "mips/tm-mips.h"
+
+#undef SOFTWARE_SINGLE_STEP_P
+#define SOFTWARE_SINGLE_STEP_P 1
+#define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
+
+void wince_software_single_step (unsigned int, int);
+#undef TARGET_BYTE_ORDER_SELECTABLE
+#define TARGET_BYTE_ORDER LITTLE_ENDIAN
+
+#endif /* TM_MIPS_H */
diff --git a/gdb/config/mips/wince.mt b/gdb/config/mips/wince.mt
new file mode 100644
index 0000000..a404b1c
--- /dev/null
+++ b/gdb/config/mips/wince.mt
@@ -0,0 +1,5 @@
+# Target: Little-endian MIPS machine such as DECstation.
+TDEPFILES= mips-tdep.o wince.o
+TM_FILE= tm-wince.h
+MT_CFLAGS=-DMIPS -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
+WIN32LIBS=-lrapi
diff --git a/gdb/config/sh/tm-wince.h b/gdb/config/sh/tm-wince.h
new file mode 100644
index 0000000..1681614
--- /dev/null
+++ b/gdb/config/sh/tm-wince.h
@@ -0,0 +1,34 @@
+/* Target-specific definition for Window CE
+ Copyright 2000 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TM_WINCE_H
+#define TM_WINCE_H 1
+
+#include "sh/tm-sh.h"
+#undef SOFTWARE_SINGLE_STEP_P
+#define SOFTWARE_SINGLE_STEP_P 1
+
+#undef SOFTWARE_SINGLE_STEP
+#define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
+void wince_software_single_step (unsigned int, int);
+#undef TARGET_BYTE_ORDER_SELECTABLE
+#define TARGET_BYTE_ORDER LITTLE_ENDIAN
+
+#endif /* TM_WINCE_H */
diff --git a/gdb/config/sh/wince.mt b/gdb/config/sh/wince.mt
new file mode 100644
index 0000000..237a0bc
--- /dev/null
+++ b/gdb/config/sh/wince.mt
@@ -0,0 +1,5 @@
+# Target: Hitachi Super-H running on Windows CE
+TDEPFILES= sh-tdep.o wince.o
+TM_FILE= tm-wince.h
+MT_CFLAGS=-DSHx -U_X86_ -U_M_IX86 -U__i386__ -U__i486__ -U__i586__ -U__i686__ -DUNICODE -D_WIN32_WCE -DWINCE_STUB='"${target_alias}-stub.exe"'
+WIN32LIBS=-lrapi