gdbserver error (getprotobyname)
Daniel Jacobowitz
drow@mvista.com
Thu Feb 14 06:30:00 GMT 2002
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
More information about the Gdb
mailing list