ef6f3a8b1f
* infptrace.c: remove #ifdef USG from around include ptrace.h. machines without this header should not be compiling this file. * nm-rs6000.h, rs6000-nat.c: new files for native support. * rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h. * rs6000-xdep.c: removed. all code now in rs6000-nat.c. * xm-rs6000.h: do not include ptrace.h. (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h. * config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o. infptrace.o and inftarg.o move to NATDEPFIES. (NAT_FILE, NATDEPFILES): new macro for native support.
44 lines
1.8 KiB
Text
44 lines
1.8 KiB
Text
# Host machine: IBM RS/6000 running AIX 3.2.
|
|
# Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
|
|
|
|
# This file is part of GDB.
|
|
|
|
# GDB 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 1, or (at your option)
|
|
# any later version.
|
|
|
|
# GDB 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 GDB; see the file COPYING. If not, write to
|
|
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
XDEPFILES= fork-child.o
|
|
XM_FILE= xm-rs6000.h
|
|
NAT_FILE= nm-rs6000.h
|
|
NATDEPFILES= infptrace.o inftarg.o rs6000-nat.o
|
|
|
|
# When compiled with cc, for debugging, this argument should be passed.
|
|
# We have no idea who our current compiler is though, so we skip it.
|
|
# MH_CFLAGS = -bnodelcsect
|
|
|
|
# The IBM version of /usr/include/rpc/rpc.h has a bug -- it says
|
|
# `extern fd_set svc_fdset;' without ever defining the type fd_set.
|
|
# Unfortunately this occurs in the vx-share code, which is not configured
|
|
# like the rest of GDB (e.g. it doesn't include "defs.h").
|
|
# We circumvent this bug by #define-ing fd_set here, but undefining it in
|
|
# the xm-rs6000.h file before ordinary modules try to use it. FIXME, IBM!
|
|
MH_CFLAGS=-Dfd_set=int
|
|
|
|
# Because of shared libraries, we risk ending up with *two*
|
|
# incompatible versions of malloc if we use GNU malloc ...
|
|
MMALLOC_LIB =
|
|
MMALLOC_DISABLE = -DNO_MMALLOC
|
|
|
|
# A bug in the AIX 3.2 libc.a results in unresolved references for .scalb and
|
|
# .finite becuase we call ldexp. Circumvent by adding -lm. FIXME, IBM.
|
|
XM_CLIBS= -lm
|