1999-04-16 01:35:26 +00:00
|
|
|
# Host: Intel 386 running the GNU Hurd
|
gdb/
Fix duplicate .o files after omitting libbfd.a.
* Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
(SFILES): Add corelow.c.
(COMMON_OBS): Add corelow.o.
(ALLDEPFILES): Remove corelow.c.
* config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
* config/alpha/alpha-osf3.mh: Likewise.
* config/alpha/fbsd.mh: Likewise.
* config/arm/nbsdaout.mh: Likewise.
* config/arm/nbsdelf.mh: Likewise.
* config/i386/i386gnu.mh: Likewise.
* config/ia64/hpux.mh: Likewise.
* config/ia64/linux.mh: Likewise.
* config/m32r/linux.mh: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/irix5.mh: Likewise.
* config/mips/irix6.mh: Likewise.
* config/pa/hpux.mh: Likewise.
* config/pa/linux.mh: Likewise.
* config/powerpc/aix.mh: Likewise.
* config/sparc/linux.mh: Likewise.
* config/sparc/linux64.mh: Likewise.
* config/sparc/sol2.mh: Likewise.
* config/vax/vax.mh: Likewise.
* configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
(alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
(am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
(arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
(hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
(i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
(i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
(i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
(m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
(microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
(mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
(powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
(powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
(sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
(sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
(sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
(sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
(vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
(x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
(x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
corelow.o from gdb_target_obs.
* corefile.c (core_target): Update the comment on NULL value.
(core_file_command): Replace error by gdb_assert on CORE_TARGET.
* corelow.c (sniff_core_bfd): Call error instead of warning on zero
MATCHES. Drop YUMMY set on NULL.
(core_close): Do not call exit_inferior_silent on zero PID. Do not
reclaim CORE_DATA if it is already NULL.
2012-01-10 16:30:49 +00:00
|
|
|
NATDEPFILES= i386gnu-nat.o gnu-nat.o core-regset.o fork-child.o \
|
2002-04-24 21:44:47 +00:00
|
|
|
notify_S.o process_reply_S.o msg_reply_S.o \
|
|
|
|
msg_U.o exc_request_U.o exc_request_S.o
|
gdb/
* Makefile.in (HAVE_NATIVE_GCORE_TARGET): New.
(generated_files): Add gcore.
(install-only, uninstall): Add gcore if HAVE_NATIVE_GCORE_TARGET or
HAVE_NATIVE_GCORE_HOST.
(gcore): New.
* NEWS (Changes since GDB 7.6): Mention newly installed gcore.
* config/alpha/alpha-osf3.mh, config/i386/fbsd.mh,
config/i386/fbsd64.mh, config/i386/i386gnu.mh, config/i386/i386sol2.mh,
config/i386/sol2-64.mh, config/mips/irix5.mh, config/mips/irix6.mh,
config/powerpc/fbsd.mh, config/sparc/fbsd.mh, config/sparc/sol2.mh:
Add HAVE_NATIVE_GCORE_HOST.
* configure: Regenerate.
* configure.ac (HAVE_NATIVE_GCORE_TARGET): New, set it, AC_SUBST it.
New AC_SUBST fir GDB_TRANSFORM_NAME and GCORE_TRANSFORM_NAME. New
AC_CONFIG_FILES for gcore.
* configure.tgt: Add gdb_have_gcore to the initial comment. Set
gdb_have_gcore.
* gdb_gcore.sh: Rename to ...
* gcore.in: ... here. Remove gcore.sh comment. Use GDB_TRANSFORM_NAME
and GCORE_TRANSFORM_NAME substitutions.
gdb/doc/
* Makefile.in (MAN1S): Add gcore.1.
Remove "Host, target, and site specific Makefile fragments" comment.
(@host_makefile_frag@, HAVE_NATIVE_GCORE_TARGET): New.
(install-man1, uninstall-man1): Conditionalize gcore.1.
(gcore.1): New.
* gdb.texinfo (Man Pages): Add gcore man.
(gcore man): New node.
2013-04-11 14:13:44 +00:00
|
|
|
HAVE_NATIVE_GCORE_HOST = 1
|
2002-04-24 21:44:47 +00:00
|
|
|
|
2002-08-15 22:24:01 +00:00
|
|
|
NAT_FILE= nm-i386gnu.h
|
1999-04-16 01:35:26 +00:00
|
|
|
MH_CFLAGS = -D_GNU_SOURCE
|
|
|
|
|
|
|
|
XM_CLIBS = -lshouldbeinlibc
|
|
|
|
|
|
|
|
# Use our own user stubs for the msg rpcs, so we can make them time out, in
|
|
|
|
# case the program is fucked, or we guess the wrong signal thread.
|
|
|
|
msg-MIGUFLAGS = -D'MSG_IMPORTS=waittime 1000;'
|
|
|
|
|
|
|
|
# ick
|
|
|
|
MIGCOM = $(MIG) -cc cat - /dev/null
|
|
|
|
|
|
|
|
# Reply servers need special massaging of the code mig generates, to make
|
|
|
|
# them work correctly for error returns in some cases.
|
|
|
|
%_reply_S.h %_reply_S.c: %_reply.defs
|
|
|
|
$(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
|
|
|
|
| $(MIGCOM) -sheader $*_reply_S.h -server $*_reply_S.raw -user /dev/null -header /dev/null \
|
|
|
|
&& $(AWK) -f $(srcdir)/reply_mig_hack.awk < $*_reply_S.raw > $*_reply_S.c
|
|
|
|
# Normal servers
|
|
|
|
%_S.h %_S.c: %.defs
|
|
|
|
$(CPP) $(CPPFLAGS) -DSERVERPREFIX=S_ -x c $< \
|
|
|
|
| $(MIGCOM) -sheader $*_S.h -server $*_S.c -user /dev/null -header /dev/null
|
|
|
|
# User rpc stubs
|
|
|
|
%_U.h %_U.c: %.defs
|
|
|
|
$(CPP) $(CPPFLAGS) $($*-MIGUFLAGS) -x c $< \
|
|
|
|
| $(MIGCOM) -sheader /dev/null -server /dev/null -user $*_U.c -header $*_U.h
|
2008-09-12 10:39:03 +00:00
|
|
|
|
|
|
|
NAT_GENERATED_FILES = notify_S.h notify_S.c \
|
|
|
|
process_reply_S.h process_reply_S.c \
|
|
|
|
msg_reply_S.h msg_reply_S.c msg_U.h msg_U.c \
|
|
|
|
exc_request_U.h exc_request_U.c exc_request_S.h exc_request_S.c
|