From owner-freebsd-hackers Thu Dec 7 15: 6:11 2000 From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 7 15:06:08 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 50A3637B400 for ; Thu, 7 Dec 2000 15:06:08 -0800 (PST) Received: from onyx (onyx.cs.binghamton.edu [128.226.140.171]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id SAA18059; Thu, 7 Dec 2000 18:06:06 -0500 (EST) Date: Thu, 7 Dec 2000 18:04:13 -0500 (EST) From: Zhiui Zhang X-Sender: zzhang@onyx To: Brian Dean Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ptrace(PT_GETDBREGS) message in remote debugging In-Reply-To: <20001207154602.A8268@vger.bsdhome.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Your patch works for me on FreeBSD 4.2-Release. Thanks. -Zhihui On Thu, 7 Dec 2000, Brian Dean wrote: > On Thu, Dec 07, 2000 at 03:30:51PM -0500, Zhiui Zhang wrote: > > Thanks. I tried this on FreeBSD 4.2-Release (because I do not have a > > stable or current), but I failed: > > > > # make > > > > Warning: Object directory not changed from original > > /usr/src/gnu/usr.bin/binutils/gdb > > > > > > cc: ../libbfd/libbfd.a: No such file or directory > > cc: ../libopcodes/libopcodes.a: No such file or directory > > cc: ../libiberty/libiberty.a: No such file or directory > > *** Error code 1 > > > > Stop in /usr/src/gnu/usr.bin/binutils/gdb. > > > > What should I do? > > Hmmm, looks like you haven't built world on this machine. No worries, > just do this: > > % cd /usr/src/gnu/usr.bin/binutils > % (cd libbfd && make) > % (cd libopcodes && make) > % (cd libiberty && make) > % (cd gdb && make && make install) > > This should build the missing libs and then gdb should link correctly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message