From: Andrew Cagney Date: Fri, 1 Oct 2004 17:26:14 +0000 (+0000) Subject: 2004-10-01 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f3db24856713f629afe3f5f35ce9ba59084b529;p=binutils-gdb.git 2004-10-01 Andrew Cagney * Makefile.in (COMMON_OBS): Add inf-child.o. * config/vax/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/vax/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. * config/vax/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove inf-child.o. * config/m88k/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/fbsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/fbsd.mh (NATDEPFILES): Remove inf-child.o. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bfeaea03381..e213ab1d3c5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,20 @@ 2004-10-01 Andrew Cagney + * Makefile.in (COMMON_OBS): Add inf-child.o. + * config/vax/obsd.mh (NATDEPFILES): Remove inf-child.o. + * config/vax/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. + * config/vax/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. + * config/powerpc/nbsd.mh (NATDEPFILES): Remove inf-child.o. + * config/m88k/obsd.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/obsdaout.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/obsd64.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/obsd.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/nbsd64.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/fbsd64.mh (NATDEPFILES): Remove inf-child.o. + * config/i386/fbsd.mh (NATDEPFILES): Remove inf-child.o. + * target.c (xfer_using_stratum): Change return type to LONGEST. On each iteration offset, readbuf and writebuf. * inf-ptrace.c (inf_ptrace_xfer_partial): Simplify computation of diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f4b73a42e39..17311669dff 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -895,6 +895,7 @@ COMMON_OBS = $(DEPFILES) $(YYOBJ) \ infcall.o \ infcmd.o infrun.o \ expprint.o environ.o stack.o thread.o \ + inf-child.o \ interps.o \ main.o \ macrotab.o macrocmd.o macroexp.o macroscope.o \ diff --git a/gdb/config/i386/fbsd.mh b/gdb/config/i386/fbsd.mh index 23c7660bdaf..291e12150cf 100644 --- a/gdb/config/i386/fbsd.mh +++ b/gdb/config/i386/fbsd.mh @@ -1,5 +1,5 @@ # Host: FreeBSD/i386 -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ fbsd-nat.o i386-nat.o i386bsd-nat.o i386fbsd-nat.o \ gcore.o bsd-kvm.o NAT_FILE= nm-fbsd.h diff --git a/gdb/config/i386/fbsd64.mh b/gdb/config/i386/fbsd64.mh index 378bab5b783..f5817f132a5 100644 --- a/gdb/config/i386/fbsd64.mh +++ b/gdb/config/i386/fbsd64.mh @@ -1,5 +1,5 @@ # Host: FreeBSD/amd64 -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ fbsd-nat.o amd64-nat.o amd64bsd-nat.o amd64fbsd-nat.o \ gcore.o bsd-kvm.o diff --git a/gdb/config/i386/nbsd64.mh b/gdb/config/i386/nbsd64.mh index 5cb07434fc3..aec29050242 100644 --- a/gdb/config/i386/nbsd64.mh +++ b/gdb/config/i386/nbsd64.mh @@ -1,3 +1,3 @@ # Host: NetBSD/amd64 -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ amd64-nat.o amd64bsd-nat.o amd64nbsd-nat.o diff --git a/gdb/config/i386/nbsdaout.mh b/gdb/config/i386/nbsdaout.mh index 11b9f11b665..9c3bfe47605 100644 --- a/gdb/config/i386/nbsdaout.mh +++ b/gdb/config/i386/nbsdaout.mh @@ -1,5 +1,5 @@ # Host: NetBSD/i386 a.out -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o \ solib.o solib-sunos.o NAT_FILE= nm-nbsdaout.h diff --git a/gdb/config/i386/nbsdelf.mh b/gdb/config/i386/nbsdelf.mh index 94de138b164..7968de6b47d 100644 --- a/gdb/config/i386/nbsdelf.mh +++ b/gdb/config/i386/nbsdelf.mh @@ -1,5 +1,5 @@ # Host: NetBSD/i386 ELF -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ i386bsd-nat.o i386nbsd-nat.o bsd-kvm.o NAT_FILE= config/nm-nbsd.h diff --git a/gdb/config/i386/obsd.mh b/gdb/config/i386/obsd.mh index 4cb26634616..f5b4b2dffc7 100644 --- a/gdb/config/i386/obsd.mh +++ b/gdb/config/i386/obsd.mh @@ -1,5 +1,5 @@ # Host: OpenBSD/i386 ELF -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ i386bsd-nat.o i386obsd-nat.o i386nbsd-nat.o bsd-kvm.o NAT_FILE= nm-obsd.h diff --git a/gdb/config/i386/obsd64.mh b/gdb/config/i386/obsd64.mh index 4f7a08f8110..5c9899c4dfa 100644 --- a/gdb/config/i386/obsd64.mh +++ b/gdb/config/i386/obsd64.mh @@ -1,5 +1,5 @@ # Host: OpenBSD/amd64 -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ amd64-nat.o amd64bsd-nat.o amd64obsd-nat.o bsd-kvm.o LOADLIBES= -lkvm diff --git a/gdb/config/i386/obsdaout.mh b/gdb/config/i386/obsdaout.mh index 7ecc2078fae..4124c79bba0 100644 --- a/gdb/config/i386/obsdaout.mh +++ b/gdb/config/i386/obsdaout.mh @@ -1,5 +1,5 @@ # Host: OpenBSD/i386 a.out -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ i386bsd-nat.o i386nbsd-nat.o i386obsd-nat.o bsd-kvm.o \ solib.o solib-sunos.o NAT_FILE= nm-obsd.h diff --git a/gdb/config/m88k/obsd.mh b/gdb/config/m88k/obsd.mh index 8cd61e5b82c..02ef16a2a3c 100644 --- a/gdb/config/m88k/obsd.mh +++ b/gdb/config/m88k/obsd.mh @@ -1,2 +1,2 @@ # Host: OpenBSD/m88k -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o m88kbsd-nat.o +NATDEPFILES= fork-child.o inf-child.o m88kbsd-nat.o diff --git a/gdb/config/powerpc/nbsd.mh b/gdb/config/powerpc/nbsd.mh index 4e7388bf962..5556886c3ff 100644 --- a/gdb/config/powerpc/nbsd.mh +++ b/gdb/config/powerpc/nbsd.mh @@ -1,5 +1,5 @@ # Host: PowerPC, running NetBSD -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o infptrace.o ppcnbsd-nat.o bsd-kvm.o +NATDEPFILES= fork-child.o inf-ptrace.o infptrace.o ppcnbsd-nat.o bsd-kvm.o NAT_FILE= config/nm-nbsd.h LOADLIBES= -lkvm diff --git a/gdb/config/vax/nbsdaout.mh b/gdb/config/vax/nbsdaout.mh index 7f820dbc49e..faf42b5e3d1 100644 --- a/gdb/config/vax/nbsdaout.mh +++ b/gdb/config/vax/nbsdaout.mh @@ -1,5 +1,5 @@ # Host: NetBSD/vax a.out -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ vaxbsd-nat.o bsd-kvm.o \ solib.o solib-sunos.o NAT_FILE= nm-nbsdaout.h diff --git a/gdb/config/vax/nbsdelf.mh b/gdb/config/vax/nbsdelf.mh index 7eddca754a6..dd9441bab25 100644 --- a/gdb/config/vax/nbsdelf.mh +++ b/gdb/config/vax/nbsdelf.mh @@ -1,5 +1,5 @@ # Host: NetBSD/vax ELF -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ vaxbsd-nat.o bsd-kvm.o LOADLIBES= -lkvm diff --git a/gdb/config/vax/obsd.mh b/gdb/config/vax/obsd.mh index e9eab64cd4c..d4d444f7939 100644 --- a/gdb/config/vax/obsd.mh +++ b/gdb/config/vax/obsd.mh @@ -1,5 +1,5 @@ # Host: OpenBSD/vax -NATDEPFILES= fork-child.o inf-child.o inf-ptrace.o \ +NATDEPFILES= fork-child.o inf-ptrace.o \ vaxbsd-nat.o bsd-kvm.o LOADLIBES= -lkvm