* configure.in: Sparclite uses sparc config dir. Also has it's
authorStu Grossman <grossman@cygnus>
Tue, 6 Apr 1993 17:40:55 +0000 (17:40 +0000)
committerStu Grossman <grossman@cygnus>
Tue, 6 Apr 1993 17:40:55 +0000 (17:40 +0000)
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.

gdb/ChangeLog
gdb/config/i386/xm-go32.h
gdb/config/sparc/sparclite.mt [new file with mode: 0644]
gdb/config/sparc/tm-sparclite.h [new file with mode: 0644]
gdb/configure.in
gdb/go32-xdep.c

index 3cdaedd..4533c5d 100644 (file)
@@ -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.
index 91f5d35..326277a 100644 (file)
@@ -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 (file)
index 0000000..351b331
--- /dev/null
@@ -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 (file)
index 0000000..f1b4eac
--- /dev/null
@@ -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"
index 5a1cc69..d4b9b62 100644 (file)
@@ -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 ;;
index 9814c9c..138c6a7 100644 (file)
@@ -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()
+{
+}