This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Remove HPUX
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: <jan dot kratochvil at redhat dot com>
- Date: Mon, 1 Dec 2014 09:20:59 -0500
- Subject: Re: [patch] Remove HPUX
- Authentication-results: sourceware.org; auth=none
- References: <20141016220028 dot GA25839 at host2 dot jankratochvil dot net>
On 2014-10-16 06:00 PM, Jan Kratochvil wrote:
> Hi,
>
> IIUC it is a pre-requisite for IPv6 support, some UNICes do not support
> getaddrinfo required for IPv6. But coincidentally such UNICes are no longer
> really supported by GDB. Therefore it was concluded we can remove all such
> UNICes and then we can implement IPv6 easily with getaddrinfo.
>
> In mail
> Re: getaddrinfo available on all GDB hosts? [Re: [PATCH v2] Add IPv6 support for remote TCP connections]
> Message-ID: <20140211034157.GG5485@adacore.com>
> https://sourceware.org/ml/gdb-patches/2014-02/msg00333.html
> Joel said:
> # [...] HP-UX [...] are probably de facto unmaintained, at this point.
>
> So I chose HP-UX first for this patch.
>
>
> # We should probably send an announcement if we ever implement a change
> # we know might be breaking some platforms, though.
>
> Not sure if anything should be really done for this part.
>
> I did not test it anyhow, not sure how, it still builds on Linux.
>
> I did not investigate too much which other parts of GDB could be removed
> along, there may be some dead code now (but it always has been).
I stumbled upon one of them in elfread.c (elf_symtab_read), a comment mentions a special case for hpux.
> I am not sure if somread.c really can be removed or not, I have removed it.
>
> The same patch is also available as a GIT branch at:
> https://sourceware.org/git/?p=archer.git;a=shortlog;h=refs/heads/jankratochvil/nohpux
>
> 24 files changed, 47 insertions(+), 7384 deletions(-)
>
>
> Thanks,
> Jan