This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit] gdbserver: return ENOSYS if readlink not supported.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, asmwarrior <asmwarrior at gmail dot com>, Yao Qi <yao at codesourcery dot com>
- Date: Thu, 9 Feb 2012 09:32:12 -0800
- Subject: Re: [RFA/commit] gdbserver: return ENOSYS if readlink not supported.
- References: <4F22760A.2020309@redhat.com> <1328805094-18863-1-git-send-email-brobecker@adacore.com> <4F33F708.2070003@redhat.com>
> > Given that this problem has been lingering for 3 weeks, I've decided
> > to just KISS. This reproduces on the GDBserver side what GDB does
> > when readlink is not supported. Does this look good to you?
>
> Yes, it does. Thanks!
Awesome, thanks! Patch now checked in.
For Eli, I am not discarding his feedback, but in the interest of getting
the build failure out of the way, decided to go for simple. If we'd like
to improve the situation, I think the best approach is to use gnulib's
readlink. But given that this appears to be used on Linux systems only,
this work would be purely accademic at this point. So I think the effort
can be defered for now.
--
Joel