diff options
author | K. Richard Pixley <rich@cygnus> | 1992-10-22 02:00:07 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-10-22 02:00:07 +0000 |
commit | 99ef5653ef55756bbe0813a2d8994734c1a365d7 (patch) | |
tree | 29226f294a46b2d055b0755919ba8746f9aebb44 | |
parent | 0a2a48a217c6c28500d504e0ad250020d5465625 (diff) | |
download | gdb-99ef5653ef55756bbe0813a2d8994734c1a365d7.zip gdb-99ef5653ef55756bbe0813a2d8994734c1a365d7.tar.gz gdb-99ef5653ef55756bbe0813a2d8994734c1a365d7.tar.bz2 |
sun4sol2 native stuff
-rw-r--r-- | gdb/.Sanitize | 1 | ||||
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/Makefile.in | 2 | ||||
-rw-r--r-- | gdb/config/sun4sol2.mh | 4 | ||||
-rw-r--r-- | gdb/config/sun4sol2.mt | 2 | ||||
-rw-r--r-- | gdb/nm-sysv4.h | 28 | ||||
-rw-r--r-- | gdb/xm-sysv4.h | 9 |
7 files changed, 45 insertions, 12 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 0e48784..9fb5f25 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -162,6 +162,7 @@ nm-sun2.h nm-sun3.h nm-sun386.h nm-sun4os4.h +nm-sysv4.h nm-trash.h nm-ultra3.h nm-umax.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 30215ad..12d21f1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,14 @@ +Wed Oct 21 17:46:07 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Native support for sun4sol2. + + * xm-sysv4.h (USE_PROC_FS, ATTACH_DETACH): removed to nm-sysv4.h. + * nm-sysv4.h: new file. + * Makefile.in (HFILES): added nm-sysv4.h. + * config/sun4sol2.mh (XDEPFILES): removed procfs.o fork-child.o. + (NAT_FILE, NATDEPFILES): new macros. + * config/sun4sol2.mt (TDEPFILES): removed exec.o and solib.o. + Wed Oct 21 03:51:01 1992 John Gilmore (gnu@cygnus.com) * coredep.c: Include "nm.h" to get REGISTER_U_ADDR. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ca499f8..ff8b90b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -256,7 +256,7 @@ HFILES= breakpoint.h buildsym.h call-cmds.h command.h defs.h \ nm-i386bsd.h nm-i386mach.h nm-i386v.h nm-i386v4.h nm-irix3.h \ nm-irix4.h nm-linux.h nm-m88k.h nm-mips.h nm-news.h nm-rs6000.h \ nm-sun2.h nm-sun3.h nm-sun386.h nm-sun4os4.h nm-trash.h \ - nm-ultra3.h nm-hppab.h nm-hppah.h nm-umax.h + nm-ultra3.h nm-hppab.h nm-hppah.h nm-umax.h nm-sysv4.h REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar diff --git a/gdb/config/sun4sol2.mh b/gdb/config/sun4sol2.mh index 3eb3e9a..394cd4f 100644 --- a/gdb/config/sun4sol2.mh +++ b/gdb/config/sun4sol2.mh @@ -1,6 +1,8 @@ # Host: Sun 4 or Sparcstation, running Solaris 2 -XDEPFILES= procfs.o fork-child.o +XDEPFILES= XM_FILE= xm-sun4sol2.h +NAT_FILE= nm-sysv4.h +NATDEPFILES= corelow.o exec.o solib.o procfs.o fork-child.o SYSV_DEFINE=-DSYSV REGEX=regex.o REGEX1=regex.o diff --git a/gdb/config/sun4sol2.mt b/gdb/config/sun4sol2.mt index 9c42fd5..99eb7ae 100644 --- a/gdb/config/sun4sol2.mt +++ b/gdb/config/sun4sol2.mt @@ -1,3 +1,3 @@ # Target: Sun 4 or Sparcstation, running Solaris 2 -TDEPFILES= exec.o sparc-tdep.o sparc-pinsn.o solib.o +TDEPFILES= sparc-tdep.o sparc-pinsn.o TM_FILE= tm-sun4sol2.h diff --git a/gdb/nm-sysv4.h b/gdb/nm-sysv4.h new file mode 100644 index 0000000..4aff700 --- /dev/null +++ b/gdb/nm-sysv4.h @@ -0,0 +1,28 @@ +/* Definitions for running gdb on a host machine running any flavor of SVR4. + Copyright 1991, 1992 Free Software Foundation, Inc. + Written by Fred Fish at Cygnus Support (fnf@cygnus.com). + +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. */ + +/* SVR4 has /proc support, so use it instead of ptrace. */ + +#define USE_PROC_FS + +/* SVR4 machines can easily do attach and detach via /proc (procfs.c) + support */ + +#define ATTACH_DETACH diff --git a/gdb/xm-sysv4.h b/gdb/xm-sysv4.h index f2697a9..c2cc1f6 100644 --- a/gdb/xm-sysv4.h +++ b/gdb/xm-sysv4.h @@ -22,10 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SVR4_SHARED_LIBS -/* SVR4 has /proc support, so use it instead of ptrace. */ - -#define USE_PROC_FS - /* SVR4 has termio facilities. */ #define HAVE_TERMIO @@ -50,11 +46,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* #define SET_STACK_LIMIT_HUGE */ -/* SVR4 machines can easily do attach and detach via /proc (procfs.c) - support */ - -#define ATTACH_DETACH - /* Use setpgid(0,0) to run inferior in a separate process group */ #define NEED_POSIX_SETPGID |