Support OSE.
authorDavid Henkel-Wallace <gumby@cygnus>
Thu, 23 Jul 1992 18:57:29 +0000 (18:57 +0000)
committerDavid Henkel-Wallace <gumby@cygnus>
Thu, 23 Jul 1992 18:57:29 +0000 (18:57 +0000)
gdb/.Sanitize
gdb/ChangeLog
gdb/config/hppahpux.mh
gdb/configure.in
gdb/depend
gdb/remote-es1800.c
gdb/tm-es1800.h
gdb/tm-vx68.h

index e1db04fb812e5b24287e0f3e90dd7f0ac9d78f68..c97c2877ea0736bda4c6d8bbc6d0e7f874ed829a 100644 (file)
@@ -32,6 +32,7 @@ ChangeLog-3.x
 ChangeLog-9091
 Convex.notes
 Makefile.in
+NEWS
 Projects
 README
 TODO
@@ -162,6 +163,7 @@ regex.h
 rem-multi.shar
 remote-adapt.c
 remote-eb.c
+remote-es1800.c
 remote-hms.c
 remote-mm.c
 remote-nindy.c
@@ -171,6 +173,9 @@ rs6000-pinsn.c
 rs6000-tdep.c
 rs6000-xdep.c
 saber.suppress
+ser-go32.c
+ser-termios.c
+serial.h
 signals.h
 solib.c
 solib.h
@@ -181,9 +186,6 @@ sparc-xdep.c
 stack.c
 standalone.c
 stuff.c
-serial.h
-ser-termios.c
-ser-go32.c
 sun3-xdep.c
 sun386-xdep.c
 symfile.c
@@ -207,6 +209,7 @@ tm-arm.h
 tm-bigmips.h
 tm-convex.h
 tm-delta88.h
+tm-es1800.h
 tm-h8300.h
 tm-hp300bsd.h
 tm-hp300hpux.h
@@ -279,8 +282,8 @@ xm-hppahpux.h
 xm-i386mach.h
 xm-i386sco.h
 xm-i386v.h
-xm-i386v4.h
 xm-i386v32.h
+xm-i386v4.h
 xm-irix3.h
 xm-irix4.h
 xm-isi.h
index 3c9fbd6d58a7d15a3a9a64d8c49f29fd3990b08c..56aac82d7355cf62087f56610ef249ea31645489 100644 (file)
@@ -1,3 +1,16 @@
+<<<<<<< ChangeLog
+Wed Jul 22 04:23:03 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
+
+       * es1800.c: use FREAD|FWRITE rather than _FREAD|_FWRITE.
+       include <sgtty.h> on USG.  (from sef).
+
+       * depend: es1800 dependency needed here.
+
+Mon Jul 20 11:25:18 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)
+
+       * configure.in: es1800 ok for 68000 too.
+
+=======
 Wed Jul 22 21:39:33 1992  Fred Fish  (fnf@cygnus.com)
 
        * lmode_inferior_valid, lmode_ours_valid:  New static vars.
@@ -25,6 +38,7 @@ Mon Jul 20 21:09:53 1992  Fred Fish  (fnf@cygnus.com)
        messages for C++ classes with no data members.  Also use new
        fprintfi_filtered function.
 
+>>>>>>> 1.651
 Sat Jul 18 15:48:58 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
 
        * configure.in: echo error messages to stderr, not stdout
index 82cd6e874861cab6fa391033c52e6b8c97d8c704..12a6fc785c98081827cb1a5c86730ae8e68fa2d7 100644 (file)
@@ -1,4 +1,5 @@
 # Host: Hewlett-Packard PA-RISC machine, running HPUX 
+TERMCAP = -lcurses
 XDEPFILES= hppahpux-xdep.o hppa-coredep.o
 XM_FILE= xm-hppahpux.h
 REGEX=regex.o
index b6c86e9f37680620816f6495a24caf78c7f9f5c1..37749c9dddf7919c89c53b92cfb99aa604ce84e1 100644 (file)
@@ -229,6 +229,7 @@ m68000)
                *)      gdb_target=sun2 ;;
                esac
                ;;
+       ericsson) gdb_target=es1800 ;;
        wrs)    gdb_target=vxworks68 ;;
        esac
        ;;
index 5f2cd039dceba8c230373b16402319e2624b116f..c7c42c733d2f196e57bb9971cce3d2937dee233d 100755 (executable)
@@ -238,6 +238,10 @@ remote-eb.o : remote-eb.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.sta
   tm-29k.h inferior.h symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h \
   gdbtypes.h expression.h ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h \
   gdbcore.h 
+remote-es1800.o : remote-es1800.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status ${srcdir}/../include/fopen-same.h \
+  tm.h inferior.h symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h \
+  gdbtypes.h expression.h ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h \
+  gdbcore.h 
 remote-hms.o : remote-hms.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status ${srcdir}/../include/fopen-same.h \
   tm.h config.status inferior.h symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h \
   gdbtypes.h expression.h ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h \
index 71a4bf79e6e89250ff91e7521ae8353a58ed7a4a..f32440bbef51089eb50f11791866597e7231f5cd 100644 (file)
@@ -109,6 +109,7 @@ STP
 
 #ifdef USG
 #include <sys/types.h>
+#include <sgtty.h>
 #endif
 
 #include <signal.h>
@@ -255,8 +256,8 @@ es1800_init_break PARAMS ((char *, int));
 static FILE *log_file;
 #endif
 
-static struct target_ops es1800_ops;           /* Forward decl */
-static struct target_ops es1800_child_ops;     /* Forward decl */
+extern struct target_ops es1800_ops;           /* Forward decl */
+extern struct target_ops es1800_child_ops;     /* Forward decl */
 
 static int kiodebug;
 static int timeout = 100; 
@@ -399,7 +400,7 @@ es1800_open (name, from_tty)
     }
   es1800_fc_save = fcflag;
 
-  fcflag = (fcflag & (_FREAD | _FWRITE)); /* mask out any funny stuff */
+  fcflag = (fcflag & (FREAD | FWRITE)); /* mask out any funny stuff */
   if (fcntl (es1800_desc, F_SETFL, fcflag) == -1)
     {
       perror_with_name ("fcntl serial");
index 67dc04e62f3141cd2d568187529d5fd44cf5900e..c2f9670c514ea729dd523cd0a9853cf0c09efece 100644 (file)
@@ -27,8 +27,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* Kludge... */
 #include "tm-sun3.h"
 
+#undef SAVED_PC_AFTER_CALL
 
-
-
-
-
+#define SAVED_PC_AFTER_CALL(frame) \
+        read_memory_integer (read_register (SP_REGNUM), 4)
index 106080e614147c26941c30b6125e0873f12a845f..81122fc39520bd6aa3b110d0b91f7ae593ab2752 100644 (file)
@@ -25,6 +25,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* Kludge... */
 #include "tm-sun3.h"
 
+#undef SAVED_PC_AFTER_CALL
+#define SAVED_PC_AFTER_CALL(frame) \
+       read_memory_integer (read_register (SP_REGNUM), 4)
+
 /* We have more complex, useful breakpoints on the target.  */
 #undef DECR_PC_AFTER_BREAK
 #define        DECR_PC_AFTER_BREAK     0
This page took 0.030218 seconds and 4 git commands to generate.