Support OSE.

This commit is contained in:
David Henkel-Wallace 1992-07-23 18:57:29 +00:00
parent f6715b07ae
commit ddce75e075
8 changed files with 38 additions and 11 deletions

View File

@ -32,6 +32,7 @@ ChangeLog-3.x
ChangeLog-9091 ChangeLog-9091
Convex.notes Convex.notes
Makefile.in Makefile.in
NEWS
Projects Projects
README README
TODO TODO
@ -162,6 +163,7 @@ regex.h
rem-multi.shar rem-multi.shar
remote-adapt.c remote-adapt.c
remote-eb.c remote-eb.c
remote-es1800.c
remote-hms.c remote-hms.c
remote-mm.c remote-mm.c
remote-nindy.c remote-nindy.c
@ -171,6 +173,9 @@ rs6000-pinsn.c
rs6000-tdep.c rs6000-tdep.c
rs6000-xdep.c rs6000-xdep.c
saber.suppress saber.suppress
ser-go32.c
ser-termios.c
serial.h
signals.h signals.h
solib.c solib.c
solib.h solib.h
@ -181,9 +186,6 @@ sparc-xdep.c
stack.c stack.c
standalone.c standalone.c
stuff.c stuff.c
serial.h
ser-termios.c
ser-go32.c
sun3-xdep.c sun3-xdep.c
sun386-xdep.c sun386-xdep.c
symfile.c symfile.c
@ -207,6 +209,7 @@ tm-arm.h
tm-bigmips.h tm-bigmips.h
tm-convex.h tm-convex.h
tm-delta88.h tm-delta88.h
tm-es1800.h
tm-h8300.h tm-h8300.h
tm-hp300bsd.h tm-hp300bsd.h
tm-hp300hpux.h tm-hp300hpux.h
@ -279,8 +282,8 @@ xm-hppahpux.h
xm-i386mach.h xm-i386mach.h
xm-i386sco.h xm-i386sco.h
xm-i386v.h xm-i386v.h
xm-i386v4.h
xm-i386v32.h xm-i386v32.h
xm-i386v4.h
xm-irix3.h xm-irix3.h
xm-irix4.h xm-irix4.h
xm-isi.h xm-isi.h

View 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) Wed Jul 22 21:39:33 1992 Fred Fish (fnf@cygnus.com)
* lmode_inferior_valid, lmode_ours_valid: New static vars. * 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 messages for C++ classes with no data members. Also use new
fprintfi_filtered function. fprintfi_filtered function.
>>>>>>> 1.651
Sat Jul 18 15:48:58 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) 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 * configure.in: echo error messages to stderr, not stdout

View File

@ -1,4 +1,5 @@
# Host: Hewlett-Packard PA-RISC machine, running HPUX # Host: Hewlett-Packard PA-RISC machine, running HPUX
TERMCAP = -lcurses
XDEPFILES= hppahpux-xdep.o hppa-coredep.o XDEPFILES= hppahpux-xdep.o hppa-coredep.o
XM_FILE= xm-hppahpux.h XM_FILE= xm-hppahpux.h
REGEX=regex.o REGEX=regex.o

View File

@ -229,6 +229,7 @@ m68000)
*) gdb_target=sun2 ;; *) gdb_target=sun2 ;;
esac esac
;; ;;
ericsson) gdb_target=es1800 ;;
wrs) gdb_target=vxworks68 ;; wrs) gdb_target=vxworks68 ;;
esac esac
;; ;;

View File

@ -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 \ 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 \ gdbtypes.h expression.h ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h \
gdbcore.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 \ 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 \ 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 \ gdbtypes.h expression.h ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h \

View File

@ -109,6 +109,7 @@ STP
#ifdef USG #ifdef USG
#include <sys/types.h> #include <sys/types.h>
#include <sgtty.h>
#endif #endif
#include <signal.h> #include <signal.h>
@ -255,8 +256,8 @@ es1800_init_break PARAMS ((char *, int));
static FILE *log_file; static FILE *log_file;
#endif #endif
static struct target_ops es1800_ops; /* Forward decl */ extern struct target_ops es1800_ops; /* Forward decl */
static struct target_ops es1800_child_ops; /* Forward decl */ extern struct target_ops es1800_child_ops; /* Forward decl */
static int kiodebug; static int kiodebug;
static int timeout = 100; static int timeout = 100;
@ -399,7 +400,7 @@ es1800_open (name, from_tty)
} }
es1800_fc_save = fcflag; 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) if (fcntl (es1800_desc, F_SETFL, fcflag) == -1)
{ {
perror_with_name ("fcntl serial"); perror_with_name ("fcntl serial");

View File

@ -27,8 +27,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Kludge... */ /* Kludge... */
#include "tm-sun3.h" #include "tm-sun3.h"
#undef SAVED_PC_AFTER_CALL
#define SAVED_PC_AFTER_CALL(frame) \
read_memory_integer (read_register (SP_REGNUM), 4)

View File

@ -25,6 +25,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Kludge... */ /* Kludge... */
#include "tm-sun3.h" #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. */ /* We have more complex, useful breakpoints on the target. */
#undef DECR_PC_AFTER_BREAK #undef DECR_PC_AFTER_BREAK
#define DECR_PC_AFTER_BREAK 0 #define DECR_PC_AFTER_BREAK 0