Date: Fri, 26 Apr 2002 12:28:36 +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: <20020426122836.F54615@wantadilla.lemis.com> In-Reply-To: <200204251318.XAA02067@avalon.reed.wattle.id.au> References: <200204251318.XAA02067@avalon.reed.wattle.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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: $ df . Filesystem 1048576-blocks Used Avail Capacity Mounted on wantadilla:/home 9722 6477 2467 72% /wantadilla/home $ wc Makefile 1026 4858 38315 Makefile $ gdb `which wc` GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)... (gdb) run Makefile Starting program: /usr/bin/wc Makefile 1026 4858 38315 Makefile (no debugging symbols found)...(no debugging symbols found)... Program exited normally. 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?20020426122836.F54615>