aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-04-06 17:40:55 +0000
committerStu Grossman <grossman@cygnus>1993-04-06 17:40:55 +0000
commit0c101d4920e41f12945049221da74cad1146a850 (patch)
tree5f4ce4aee9867bd92120bb03ba109780b0146901
parent8d3ca594240533a29fc807b09a4e3151c5799d4b (diff)
downloadgdb-0c101d4920e41f12945049221da74cad1146a850.zip
gdb-0c101d4920e41f12945049221da74cad1146a850.tar.gz
gdb-0c101d4920e41f12945049221da74cad1146a850.tar.bz2
* configure.in: Sparclite uses sparc config dir. Also has it's
own tm- & .mt files now. Also add sparclite to configdirs. * go32-xdep.c: Dummy routines for sigsetmask & strlwr. * config/i386/go32.mh: Nullify def of TERMCAP. * config/i386/xm-go32.h: Get rid of redef of EIO. * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite specific configs. Very similar to sun4os4, but without solib. * sparclite/{Makefile.in configure.in}: First cut at making this dir configgable.
-rw-r--r--gdb/ChangeLog12
-rw-r--r--gdb/config/i386/xm-go32.h2
-rw-r--r--gdb/config/sparc/sparclite.mt3
-rw-r--r--gdb/config/sparc/tm-sparclite.h20
-rw-r--r--gdb/configure.in9
-rw-r--r--gdb/go32-xdep.c8
6 files changed, 51 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3cdaedd..4533c5d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,15 @@
+Tue Apr 6 10:31:26 1993 Stu Grossman (grossman@cygnus.com)
+
+ * configure.in: Sparclite uses sparc config dir. Also has it's
+ own tm- & .mt files now. Also add sparclite to configdirs.
+ * go32-xdep.c: Dummy routines for sigsetmask & strlwr.
+ * config/i386/go32.mh: Nullify def of TERMCAP.
+ * config/i386/xm-go32.h: Get rid of redef of EIO.
+ * config/sparc/{sparclite.mh tm-sparclite.h}: New sparclite
+ specific configs. Very similar to sun4os4, but without solib.
+ * sparclite/{Makefile.in configure.in}: First cut at making this
+ dir configgable.
+
Tue Apr 6 03:10:44 1993 Stu Grossman (grossman@cygnus.com)
* ser-go32.c: First cut at adapting to new serial interface.
diff --git a/gdb/config/i386/xm-go32.h b/gdb/config/i386/xm-go32.h
index 91f5d35..326277a 100644
--- a/gdb/config/i386/xm-go32.h
+++ b/gdb/config/i386/xm-go32.h
@@ -17,8 +17,6 @@ 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#undef EIO
-#define EIO 0
#define SYS_SIGLIST_MISSING 1
#define HOST_BYTE_ORDER LITTLE_ENDIAN
#include "fopen-bin.h"
diff --git a/gdb/config/sparc/sparclite.mt b/gdb/config/sparc/sparclite.mt
new file mode 100644
index 0000000..351b331
--- /dev/null
+++ b/gdb/config/sparc/sparclite.mt
@@ -0,0 +1,3 @@
+# Target: Fujitsu SPARClite processor
+TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o
+TM_FILE= tm-sparclite.h
diff --git a/gdb/config/sparc/tm-sparclite.h b/gdb/config/sparc/tm-sparclite.h
new file mode 100644
index 0000000..f1b4eac
--- /dev/null
+++ b/gdb/config/sparc/tm-sparclite.h
@@ -0,0 +1,20 @@
+/* Macro definitions for GDB for a Fujitsu SPARClite.
+ Copyright 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#include "sparc/tm-sparc.h"
diff --git a/gdb/configure.in b/gdb/configure.in
index 5a1cc69..d4b9b62 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -3,6 +3,12 @@ srcname="GDB"
srctrigger=main.c
gdb_serial_driver=ser-unix.c
+echo ${target}
+
+if [ "${target_cpu}" = "sparclite" ] ; then
+ configdirs = "$configdirs sparclite"
+fi
+
# per-host:
# Map host cpu into the config cpu subdirectory name.
@@ -126,6 +132,7 @@ m68*) gdb_target_cpu=m68k ;;
np1) gdb_target_cpu=gould ;;
pn) gdb_target_cpu=gould ;;
pyramid) gdb_target_cpu=pyr ;;
+sparc*) gdb_target_cpu=sparc ;;
*) gdb_target_cpu=$target_cpu ;;
esac
@@ -233,7 +240,7 @@ sparc-*-solaris2*) gdb_target=sun4sol2 ;;
sparc-*-sunos4*) gdb_target=sun4os4 ;;
sparc-*-vxworks*) gdb_target=sparc-em ;;
sparc-*-*) gdb_target=sun4os4 ;;
-sparclite*-*-*) gdb_target=sun4os4 ;;
+sparclite*-*-*) gdb_target=sparclite ;;
tahoe-*-*) gdb_target=tahoe ;;
vax-*-*) gdb_target=vax ;;
diff --git a/gdb/go32-xdep.c b/gdb/go32-xdep.c
index 9814c9c..138c6a7 100644
--- a/gdb/go32-xdep.c
+++ b/gdb/go32-xdep.c
@@ -27,3 +27,11 @@ static void uerror(char *s)
re_comp(){uerror("attempt to call re_comp()");}
re_exec(){uerror("attempt to call re_exec()");}
+
+sigsetmask()
+{
+}
+
+strlwr()
+{
+}