Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Richard Krehbiel
Mon, 02 Nov 1992 06:14
Configure gdb 4.7 for ISC Unix
Author: Richard Krehbiel
Date: Mon, 02 Nov 1992 06:14
Date: Mon, 02 Nov 1992 06:14
666 lines
22675 bytes
22675 bytes
Here is a patch for the changes and additions I've made to gdb 4.7 for
Interactive Systems (SunSoft) Unix 2.2 and 3.0. With these changes,
you can say "configure i386-isc" and it makes all the correct build
files.
When building gdb with gcc (make "CC=gcc -posix -O") you will get a
warning on nearly every file about redeclaration of NULL. You can
ignore the warnings. I personally made changes to my system header
files "stdio.h", "sys/param.h", "sys/unistd.h" to conditionally define
NULL.
Two other minor additions of mine are these:
o The command "info float" is back. This was present in gdb 3.x,
but was never made to work in 4.x for i386.
o The instance pointer "this" is (at last) available when
debugging C++ using COFF object files.
=== cut here ============== cut here ================== cut here ===========
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/ChangeLog gdb/ChangeLog
*** ../gdb-4.7.dist/gdb/ChangeLog Fri Oct 23 04:48:58 1992
--- gdb/ChangeLog Thu Oct 29 10:32:35 1992
***************
*** 1,2 ****
--- 1,29 ----
+ Thu Oct 29 10:12:09 1992 Richard L. Krehbiel (rich@friend.kastle.com)
+
+ * coffread.c (process_coff_symbol): Added code to handle some C++
+ specific internal symbols.
+
+ * config/i386isc.mt: New file for ISC unix
+
+ * config/i386isc.mh: New file for ISC unix
+
+ * configure.in: Added cases for ISC unix host and target
+
+ * i386v-nat.c: Added working code for "info float", adapted from
+ gdb 3.5. This was never updated for 4.x, until it finally
+ disappeared in 4.7; well, here it is again.
+
+ * infcmd.c: Added #include "nm.h" which contains the definition of
+ FLOAT_INFO.
+
+ * nm-i386isc.h: New file for ISC unix
+
+ * xm-i386isc.h: New file for ISC unix
+
+ * source.c (mod_path): Posix apparently has different definitions
+ for struct stat.st_mode; at least with ISC, (st.st_mode & S_IFMT)
+ becomes S_ISDIR(st.st_mode). This permits build with gcc -posix
+ under ISC.
+
Fri Oct 23 00:48:08 1992 John Gilmore (gnu@cygnus.com)
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/coffread.c gdb/coffread.c
*** ../gdb-4.7.dist/gdb/coffread.c Sun Aug 23 20:12:58 1992
--- gdb/coffread.c Thu Oct 29 10:17:01 1992
***************
*** 1577,1582 ****
memset (sym, 0, sizeof (struct symbol));
name = cs->c_name;
! name = (name[0] == '_' ? name + offset : name);
! SYMBOL_NAME (sym) = obstack_copy0 (&objfile->symbol_obstack, name, strlen (name));
/* default assumptions */
--- 1577,1618 ----
memset (sym, 0, sizeof (struct symbol));
name = cs->c_name;
!
! /* rich@friend.kastle.com: My attempt to get some bit of C++-cognizance from
! coff symbol tables, at least make "this" visible. This is adapted from
! code in stabsread. */
!
! if (name[0] == CPLUS_MARKER)
! {
! /* Special GNU C++ names. */
! switch (name[1])
! {
! case 't':
! SYMBOL_NAME (sym) = obsavestring ("this", strlen ("this"),
! &objfile -> symbol_obstack);
! break;
!
! case 'v': /* $vtbl_ptr_type */
! /* Was: SYMBOL_NAME (sym) = "vptr"; */
! goto normal;
!
! case 'e':
! SYMBOL_NAME (sym) = obsavestring ("eh_throw", strlen ("eh_throw"),
! &objfile -> symbol_obstack);
! break;
!
! default: /* can't abort like stabs, too many other cases
! besides these... */
! case '_':
! /* This was an anonymous type that was never fixed up. */
! goto normal;
! }
! }
! else
! {
! normal:
! name = (name[0] == '_' ? name + offset : name);
! SYMBOL_NAME (sym) = obstack_copy0 (&objfile->symbol_obstack,
! name, strlen (name));
! }
/* default assumptions */
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/config/i386isc.mh gdb/config/i386isc.mh
*** ../gdb-4.7.dist/gdb/config/i386isc.mh
--- gdb/config/i386isc.mh Tue Oct 27 11:42:27 1992
***************
*** 0 ****
--- 1,9 ----
+ # Host: Intel 386 running Interactive Systems Unix 2.2+
+ XDEPFILES=
+ XM_FILE= xm-i386isc.h
+ NAT_FILE= nm-i386isc.h
+ NATDEPFILES= exec.o infptrace.o inftarg.o fork-child.o coredep.o corelow.o i386v-nat.o
+ XM_CLIBS= -lPW
+ SYSV_DEFINE=-DSYSV
+ REGEX=regex.o
+ REGEX1=regex.o
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/config/i386isc.mt gdb/config/i386isc.mt
*** ../gdb-4.7.dist/gdb/config/i386isc.mt
--- gdb/config/i386isc.mt Tue Oct 27 11:42:19 1992
***************
*** 0 ****
--- 1,3 ----
+ # Target: Intel 386 running Interactive Systems Unix 2.2+
+ TDEPFILES= exec.o i386-tdep.o i386-pinsn.o i387-tdep.o
+ TM_FILE= tm-i386v.h
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/configure.in gdb/configure.in
*** ../gdb-4.7.dist/gdb/configure.in Wed Oct 14 18:50:18 1992
--- gdb/configure.in Mon Oct 26 16:43:58 1992
***************
*** 24,27 ****
--- 24,28 ----
i[34]86-*-go32) gdb_host=go32 ;;
i[34]86-*-linux) gdb_host=linux ;;
+ i[34]86-*-isc*) gdb_host=i386isc ;;
i[34]86-*-mach) gdb_host=i386mach ;;
i[34]86-*-scosysv*) gdb_host=i386sco ;;
***************
*** 131,134 ****
--- 132,136 ----
i[34]86-*-scosysv3*) gdb_target=i386v ;;
i[34]86-*-sysv*) gdb_target=i386v ;;
+ i[34]86-*-isc*) gdb_target=i386isc ;;
i[34]86-*-linux) gdb_target=linux ;;
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/i386v-nat.c gdb/i386v-nat.c
*** ../gdb-4.7.dist/gdb/i386v-nat.c Wed Oct 21 22:26:02 1992
--- gdb/i386v-nat.c Tue Oct 27 14:05:20 1992
***************
*** 83,87 ****
}
! #if 0
/* using FLOAT_INFO as is would be a problem. FLOAT_INFO is called
via a command xxx and eventually calls ptrace without ever having
--- 83,170 ----
}
! struct env387
! {
! unsigned short control;
! unsigned short r0;
! unsigned short status;
! unsigned short r1;
! unsigned short tag;
! unsigned short r2;
! unsigned long eip;
! unsigned short code_seg;
! unsigned short opcode;
! unsigned long operand;
! unsigned short operand_seg;
! unsigned short r3;
! unsigned char regs[8][10];
! };
!
! static
! print_387_status (status, ep)
! unsigned short status;
! struct env387 *ep;
! {
! int i;
! int bothstatus;
! int top;
! int fpreg;
! unsigned char *p;
!
! bothstatus = ((status != 0) && (ep->status != 0));
! if (status != 0)
! {
! if (bothstatus)
! printf ("u: ");
! print_387_status_word (status);
! }
!
! if (ep->status != 0)
! {
! if (bothstatus)
! printf ("e: ");
! print_387_status_word (ep->status);
! }
!
! print_387_control_word (ep->control);
! printf ("last exception: ");
! printf ("opcode %s; ", local_hex_string(ep->opcode));
! printf ("pc %s:", local_hex_string(ep->code_seg));
! printf ("%s; ", local_hex_string(ep->eip));
! printf ("operand %s", local_hex_string(ep->operand_seg));
! printf (":%s\n", local_hex_string(ep->operand));
!
! top = (ep->status >> 11) & 7;
!
! printf ("regno tag msb lsb value\n");
! for (fpreg = 7; fpreg >= 0; fpreg--)
! {
! double val;
!
! printf ("%s %d: ", fpreg == top ? "=>" : " ", fpreg);
!
! switch ((ep->tag >> (fpreg * 2)) & 3)
! {
! case 0: printf ("valid "); break;
! case 1: printf ("zero "); break;
! case 2: printf ("trap "); break;
! case 3: printf ("empty "); break;
! }
! for (i = 9; i >= 0; i--)
! printf ("%02x", ep->regs[fpreg][i]);
!
! ieee_extended_to_double (&ext_format_i387, (char *)ep->regs[fpreg],
! &val);
! printf (" %g\n", val);
! }
! if (ep->r0)
! warning ("reserved0 is %s\n", local_hex_string(ep->r0));
! if (ep->r1)
! warning ("reserved1 is %s\n", local_hex_string(ep->r1));
! if (ep->r2)
! warning ("reserved2 is %s\n", local_hex_string(ep->r2));
! if (ep->r3)
! warning ("reserved3 is %s\n", local_hex_string(ep->r3));
! }
!
/* using FLOAT_INFO as is would be a problem. FLOAT_INFO is called
via a command xxx and eventually calls ptrace without ever having
***************
*** 91,94 ****
--- 174,178 ----
A fix might be to move this code into the "info registers" command.
rich@cygnus.com 15 Sept 92. */
+
i386_float_info ()
{
***************
*** 102,106 ****
unsigned int rounded_addr;
unsigned int rounded_size;
- extern int corechan;
int skip;
--- 186,189 ----
***************
*** 117,130 ****
fpvalid = ((data & mask) != 0);
}
! #if 0
! else
{
! if (lseek (corechan, uaddr, 0) < 0)
perror ("seek on core file");
! if (myread (corechan, &fpvalid, 1) < 0)
perror ("read on core file");
}
! #endif /* no core support yet */
if (fpvalid == 0)
--- 200,216 ----
fpvalid = ((data & mask) != 0);
}
! else if(core_bfd)
{
! if (bfd_seek (core_bfd, uaddr, 0) < 0)
perror ("seek on core file");
! if (bfd_read (&fpvalid, 1, 1, core_bfd) < 0)
perror ("read on core file");
}
! else
! {
! printf("No inferior or core file\n");
! return;
! }
if (fpvalid == 0)
***************
*** 151,164 ****
}
}
- #if 0
else
{
! if (lseek (corechan, uaddr, 0) < 0)
perror_with_name ("seek on core file");
! if (myread (corechan, buf, sizeof (struct fpstate)) < 0)
perror_with_name ("read from core file");
skip = 0;
}
- #endif /* 0 */
fpstatep = (struct fpstate *)(buf + skip);
--- 237,248 ----
}
}
else
{
! if (bfd_seek (core_bfd, uaddr, 0) < 0)
perror_with_name ("seek on core file");
! if (bfd_read (buf, sizeof (struct fpstate), 1, core_bfd) < 0)
perror_with_name ("read from core file");
skip = 0;
}
fpstatep = (struct fpstate *)(buf + skip);
***************
*** 165,168 ****
print_387_status (fpstatep->status, (struct env387 *)fpstatep->state);
}
-
- #endif /* never */
--- 249,250 ----
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/infcmd.c gdb/infcmd.c
*** ../gdb-4.7.dist/gdb/infcmd.c Fri Oct 9 12:44:26 1992
--- gdb/infcmd.c Tue Oct 27 16:07:21 1992
***************
*** 32,35 ****
--- 32,37 ----
#include "target.h"
+ #include "nm.h"
+
static void
continue_command PARAMS ((char *, int));
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/nm-i386isc.h gdb/nm-i386isc.h
*** ../gdb-4.7.dist/gdb/nm-i386isc.h
--- gdb/nm-i386isc.h Wed Oct 28 10:19:22 1992
***************
*** 0 ****
--- 1,41 ----
+ /* Native support for i386.
+ This for Interactive Systems Unix 2.2+
+ Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
+ Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
+
+ 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. */
+
+ /* code to execute to print interesting information about the
+ floating point processor (if any)
+ No need to define if there is nothing to do.
+ On the 386, unfortunately this code is host-dependent (and lives
+ in the i386-xdep.c file), so we can't
+ do this unless we *know* we aren't cross-debugging. FIXME.
+ */
+ #define FLOAT_INFO { i386_float_info (); }
+
+ #define REGISTER_U_ADDR(addr, blockend, regno) \
+ (addr) = i386_register_u_addr ((blockend),(regno));
+
+ extern int
+ i386_register_u_addr PARAMS ((int, int));
+
+ /*
+ * SysV doesn't always have a <ptrace.h> or <sys/ptrace.h> file
+ * (why, I don't know), and we don't need it.
+ */
+ #define NO_PTRACE_H
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/source.c gdb/source.c
*** ../gdb-4.7.dist/gdb/source.c Mon Oct 5 20:41:51 1992
--- gdb/source.c Wed Oct 28 12:36:57 1992
***************
*** 352,356 ****
--- 352,360 ----
if (stat (name, &st) < 0)
perror_with_name (name);
+ #if defined(_POSIX_SOURCE) && defined(S_ISDIR)
+ if (!S_ISDIR(st.st_mode))
+ #else
if ((st.st_mode & S_IFMT) != S_IFDIR)
+ #endif
error ("%s is not a directory.", name);
}
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/gdb/xm-i386isc.h gdb/xm-i386isc.h
*** ../gdb-4.7.dist/gdb/xm-i386isc.h
--- gdb/xm-i386isc.h Wed Oct 28 15:20:27 1992
***************
*** 0 ****
--- 1,36 ----
+ /* Macro defintions for i386, running Interactive Systems Unix 2.2+
+ (Taken primary from the SCO file, modified somewhat)
+ Copyright (C) 1989 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 "xm-i386v.h"
+
+ /* Apparently there is inconsistency among various System V's about what
+ the name of this field is. */
+ #define U_FPSTATE(u) u.u_fps.u_fpstate
+
+ /* TIOCGETC is defined in System V 3.2 termio.h, but struct tchars
+ is not. This makes problems for inflow.c. */
+ #define TIOCGETC_BROKEN
+
+ /* The assembler can't assemble dollar signs, so choose the alternative,
+ dots. C++ must agree with this. */
+
+ #undef CPLUS_MARKER
+ #define CPLUS_MARKER '.'
+ #define HAVE_STRSTR
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/bfd/ChangeLog bfd/ChangeLog
*** ../gdb-4.7.dist/bfd/ChangeLog Fri Oct 23 04:46:52 1992
--- bfd/ChangeLog Thu Oct 29 10:36:33 1992
***************
*** 1,2 ****
--- 1,12 ----
+ Thu Oct 29 10:33:07 1992 Richard L. Krehbiel (rich@friend.kastle.com)
+
+ * config/i386isc.mh: New file for ISC unix
+
+ * configure.host: Added case for ISC unix
+
+ * configure.in: Added case for ISC unix
+
+ * hosts/i386isc.h: New file for ISC unix
+
Thu Oct 22 22:40:20 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/bfd/config/i386isc.mh bfd/config/i386isc.mh
*** ../gdb-4.7.dist/bfd/config/i386isc.mh
--- bfd/config/i386isc.mh Tue Oct 27 13:04:25 1992
***************
*** 0 ****
--- 1,4 ----
+ RANLIB = /bin/true
+ ALLOCA = alloca.o
+ HDEFINES = -DUSG -DTRAD_CORE
+ HDEPFILES = trad-core.o
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/bfd/configure.host bfd/configure.host
*** ../gdb-4.7.dist/bfd/configure.host Fri Oct 9 07:38:25 1992
--- bfd/configure.host Mon Oct 26 16:15:05 1992
***************
*** 29,32 ****
--- 29,33 ----
i[34]86-*-sysv*) my_host=i386v ;;
i[34]86-*-solaris*) my_host=i386v ;;
+ i[34]86-*-isc*) my_host=i386isc ;;
i[34]86-*-sco*) my_host=i386v ;;
i[34]86-*-mach*) my_host=i386mach ;;
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/bfd/configure.in bfd/configure.in
*** ../gdb-4.7.dist/bfd/configure.in Fri Oct 23 04:39:13 1992
--- bfd/configure.in Tue Oct 27 12:58:57 1992
***************
*** 49,52 ****
--- 49,53 ----
i[34]86-*-sysv*) bfd_target=i386-coff ;;
i[34]86-*-sco*) bfd_target=i386-coff ;;
+ i[34]86-*-isc*) bfd_target=i386-coff ;;
i[34]86-*-bsd*) bfd_target=i386-bsd ;;
i[34]86-none-*) bfd_target=i386-coff ;;
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/bfd/hosts/i386isc.h bfd/hosts/i386isc.h
*** ../gdb-4.7.dist/bfd/hosts/i386isc.h
--- bfd/hosts/i386isc.h Thu Oct 29 10:48:40 1992
***************
*** 0 ****
--- 1,13 ----
+ /* sysdep.h for Interactive Unix 2.2 + */
+ #include "hosts/i386v.h"
+
+ #undef index /* Don't know why these are included */
+ #undef rindex /* none of the bfd routines need 'em */
+
+ /* makes trad-core.c work for ISC 2.2, 3.0 */
+
+ #define NBPG NBPC
+ #define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
+ #define HOST_TEXT_START_ADDR u.u_exdata.ux_txtorg
+ #define HOST_STACK_END_ADDR 0x80000000
+ #define UPAGES USIZE
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/readline/ChangeLog readline/ChangeLog
*** ../gdb-4.7.dist/readline/ChangeLog Thu Oct 22 04:09:00 1992
--- readline/ChangeLog Thu Oct 29 10:38:32 1992
***************
*** 1,2 ****
--- 1,10 ----
+ Thu Oct 29 10:36:55 1992 Richard L. Krehbiel (rich@friend.kastle.com)
+
+ * config/mh-isc: New file for ISC unix
+
+ * configure.in: Added case for ISC unix
+
+ * sysdep-isc.h: New file for ISC unix
+
Thu Oct 22 01:08:13 1992 Stu Grossman (grossman at cygnus.com)
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/readline/config/mh-isc readline/config/mh-isc
*** ../gdb-4.7.dist/readline/config/mh-isc
--- readline/config/mh-isc Tue Oct 27 11:07:40 1992
***************
*** 0 ****
--- 1,4 ----
+ # Define USG as -DUSG if you are using a System V operating system.
+ USG = -DUSG
+ RANLIB = true
+ INSTALL_PROG = cp
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/readline/configure.in readline/configure.in
*** ../gdb-4.7.dist/readline/configure.in Thu Oct 22 04:13:02 1992
--- readline/configure.in Tue Oct 27 11:07:11 1992
***************
*** 28,31 ****
--- 28,35 ----
files=sysdep-sco.h
;;
+ i[34]86-*-isc*)
+ host_makefile_frag=config/mh-isc
+ files=sysdep-isc.h
+ ;;
m68k-apollo-sysv*)
host_makefile_frag=config/mh-apollo68v
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/readline/sysdep-isc.h readline/sysdep-isc.h
*** ../gdb-4.7.dist/readline/sysdep-isc.h
--- readline/sysdep-isc.h Wed Oct 28 15:21:53 1992
***************
*** 0 ****
--- 1,15 ----
+ /* System-dependent stuff, for Interactive Systems Unix 2.2+ */
+
+ #include <malloc.h>
+
+ #ifdef __GNUC__
+ #define alloca __builtin_alloca
+ #endif
+
+ #include <sys/types.h>
+ #include <sys/stream.h>
+ #include <sys/ptem.h>
+ #include <dirent.h>
+ typedef struct dirent dirent;
+
+ #define O_NDELAY O_NONBLOCK
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/mmalloc/ChangeLog mmalloc/ChangeLog
*** ../gdb-4.7.dist/mmalloc/ChangeLog Fri Oct 23 04:52:19 1992
--- mmalloc/ChangeLog Thu Oct 29 10:42:56 1992
***************
*** 1,2 ****
--- 1,8 ----
+ Thu Oct 29 10:38:47 1992 Richard L. Krehbiel (rich@friend.kastle.com)
+
+ * configure.in: Added case for ISC unix
+
+ * config/mh-sysv: New file for USG
+
Fri Oct 23 01:50:52 1992 Stu Grossman (grossman at cygnus.com)
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/mmalloc/config/mh-sysv mmalloc/config/mh-sysv
*** ../gdb-4.7.dist/mmalloc/config/mh-sysv
--- mmalloc/config/mh-sysv Tue Oct 27 13:45:05 1992
***************
*** 0 ****
--- 1,3 ----
+ HDEFINES = -DUSG
+ RANLIB = true
+ INSTALL = cp
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/mmalloc/configure.in mmalloc/configure.in
*** ../gdb-4.7.dist/mmalloc/configure.in Fri Oct 23 04:52:19 1992
--- mmalloc/configure.in Tue Oct 27 13:44:05 1992
***************
*** 20,23 ****
--- 20,26 ----
host_makefile_frag=config/mh-ncr3000
;;
+ i[34]86-*-*sysv)
+ host_makefile_frag=config/mh-sysv
+ ;;
*-*-sysv4*|*-*-solaris*)
host_makefile_frag=config/mh-sysv4
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/glob/ChangeLog glob/ChangeLog
*** ../gdb-4.7.dist/glob/ChangeLog Mon Oct 5 20:42:31 1992
--- glob/ChangeLog Thu Oct 29 10:52:14 1992
***************
*** 1,2 ****
--- 1,8 ----
+ Thu Oct 29 10:50:07 1992 Richard L. Krehbiel (rich@friend.kastle.com)
+
+ * configure.in: added case for ISC unix
+
+ * sysdep-isc.h: New file for ISC unix
+
Thu Oct 1 23:09:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/glob/configure.in glob/configure.in
*** ../gdb-4.7.dist/glob/configure.in Mon Oct 5 20:42:31 1992
--- glob/configure.in Tue Oct 27 13:53:00 1992
***************
*** 33,36 ****
--- 33,39 ----
files=sysdep-sco.h
;;
+ i[34]86-*-isc*)
+ files=sysdep-isc.h
+ ;;
*-apollo-sysv*)
files=sysdep-a68v.h
diff --recursive -N -C 2 --exclude-from=gdb.nodiff ../gdb-4.7.dist/glob/sysdep-isc.h glob/sysdep-isc.h
*** ../gdb-4.7.dist/glob/sysdep-isc.h
--- glob/sysdep-isc.h Thu Oct 29 10:52:47 1992
***************
*** 0 ****
--- 1,13 ----
+ /* System-dependent stuff, for Interactive Systems unix 2.2+ */
+
+ #include <malloc.h>
+
+ #ifdef __GNUC__
+ #define alloca __builtin_alloca
+ #endif
+
+ #include <sys/types.h>
+ #include <sys/stream.h>
+ #include <sys/ptem.h>
+ #include <dirent.h>
+ typedef struct dirent dirent;
=== cut here ============== cut here ================== cut here ===========
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads