From owner-freebsd-stable Fri Apr 26 4: 3: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 3355B37B419 for ; Fri, 26 Apr 2002 04:03:00 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id AABAB8149E; Fri, 26 Apr 2002 20:32:57 +0930 (CST) Date: Fri, 26 Apr 2002 20:32:57 +0930 From: Greg 'groggy' Lehey To: Darren Reed Cc: stable@FreeBSD.org Subject: Re: gdb doesn't work over NFS ? Message-ID: <20020426203257.D54615@wantadilla.lemis.com> References: <20020426122836.F54615@wantadilla.lemis.com> <200204261049.UAA06688@avalon.reed.wattle.id.au> <20020426122836.F54615@wantadilla.lemis.com> <200204261044.UAA06679@avalon.reed.wattle.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204261049.UAA06688@avalon.reed.wattle.id.au> <200204261044.UAA06679@avalon.reed.wattle.id.au> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 26 April 2002 at 20:44:21 +1000, Darren Reed wrote: > In some email I received from Greg 'groggy' Lehey, sie wrote: >> On Thursday, 25 April 2002 at 23:18:34 +1000, Darren Reed wrote: >>> >>> Can someone explain why when I use gdb under FreeBSD 4.5, I cannot open >>> files on an NFS partition that I can outside of gdb ? >>> >>> ie. i can do: >>> >>> $ wc Makefile >>> >>> but I cannot do: >>> >>> $ gdb `which wc` >>> (gdb) run Makefile >>> >>> and if I do, I get: >>> wc: Makefile: open: No such file or directory >> >> No, I can't explain this, but I'd guess that you're looking in the >> wrong place. It works fine here: > [...] > > I only have this problem with gdb over NFS when using FreeBSD. > > Would you like me to list the other platforms where it works ? Well, in this case it works for me under FreeBSD, but I'd guess it works under NetBSD, OpenBSD and Linux. I tested this under one of my current FreeBSD machines, but I've been running gdb over nfs for years. I don't think it's release dependent. On Friday, 26 April 2002 at 20:49:38 +1000, Darren Reed wrote: > In some email I received from Greg 'groggy' Lehey, sie wrote: >> On Thursday, 25 April 2002 at 23:18:34 +1000, Darren Reed wrote: >>> >>> Can someone explain why when I use gdb under FreeBSD 4.5, I cannot open >>> files on an NFS partition that I can outside of gdb ? >>> >>> ie. i can do: >>> >>> $ wc Makefile >>> >>> but I cannot do: >>> >>> $ gdb `which wc` >>> (gdb) run Makefile >>> >>> and if I do, I get: >>> wc: Makefile: open: No such file or directory >> >> No, I can't explain this, but I'd guess that you're looking in the >> wrong place. It works fine here: > > Well, there is one platform which I will comment on it working (without > being asked) and that is FreeBSD 3.3-RELEASE (the 3.4 CD I have will not > boot under vmware as either a CD or ISO file for the device :-/). > > Should I test other 4.x's ? Well, I suppose the party line is "3.3 isn't supported". And I don't intend to reinstall 3.3 to prove that it works there. But since you mention vmware, maybe we have other things in the equation. Have you tried this with a native install? Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message