This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbserver error (getprotobyname)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]