Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 20:32:57 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Darren Reed <darrenr@reed.wattle.id.au>
Cc:        stable@FreeBSD.org
Subject:   Re: gdb doesn't work over NFS ?
Message-ID:  <20020426203257.D54615@wantadilla.lemis.com>
In-Reply-To: <200204261049.UAA06688@avalon.reed.wattle.id.au> <200204261044.UAA06679@avalon.reed.wattle.id.au>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426203257.D54615>