From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19223 invoked by alias); 14 Feb 2002 14:30:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19074 invoked from network); 14 Feb 2002 14:30:44 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 14 Feb 2002 14:30:44 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16bMuJ-0008CP-00; Thu, 14 Feb 2002 09:30:43 -0500 Date: Thu, 14 Feb 2002 06:30:00 -0000 From: Daniel Jacobowitz To: David Jones Cc: gdb@sources.redhat.com Subject: Re: gdbserver error (getprotobyname) Message-ID: <20020214093042.A31425@nevyn.them.org> Mail-Followup-To: David Jones , gdb@sources.redhat.com References: <20020213101305.A32551@nevyn.them.org> <20020214070702.5676.qmail@web13706.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020214070702.5676.qmail@web13706.mail.yahoo.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00213.txt.bz2 On Wed, Feb 13, 2002 at 11:07:02PM -0800, David Jones wrote: > > Hi All, > Thanks for the comments and suggestions to my gdbserver problem. > > > > The /etc/protocols file is present on my StrongArm target. > > > > Are /etc/nsswitch.conf and /lib/libnss_files* and friends? > > > > But in any case I recommend Martin's patch. > > > > Daniel, > I don't have /etc/nsswitch.conf and /lib/libnss_files* and friends > since I used a statically linked binary for the StrongArm given to me > by Bill. I will check out the gdb source, apply Martin's patch, and > try to build gdb and gdbserver from the source. One question though, > are there any special or unique options that I need to pass to the configure > script ? No, the files I was referring to are all parts of the C library. If you left them out, get*byname will not work on your target. If you check out the CVS repository, you should need no special options. Be sure to build a -native-, not cross, gdb: --host=arm-linux rather than --target=arm-linux. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer