This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove GDB_OSABI_INTERIX
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 02 Sep 2013 14:35:32 +0100
- Subject: Re: [PATCH] Remove GDB_OSABI_INTERIX
- Authentication-results: sourceware.org; auth=none
- References: <1378127028-11182-1-git-send-email-yao at codesourcery dot com>
On 09/02/2013 02:03 PM, Yao Qi wrote:
> I find GDB_OSABI_INTERIX is not used anywhere in GDB. Probably it was
> a leftover of this cleanup patch,
>
> [PATCH] Remove Interix support
> https://sourceware.org/ml/gdb-patches/2004-05/msg00069.html
>
> Grep "Interix" find some matches in i386-cygwin-tdep.c and
> doc/gdbint.texinfo. Looks the comment has been obsolete, so I remove
> it too.
Try "grep -i". This bit in configure.ac has a stale reference to
interix too:
# Detect which type of /proc is in use, such as for Solaris.
if test "${target}" = "${host}"; then
case "${host}" in
*-*-sysv4.2* | *-*-sysv5* | *-*-interix* )
AC_DEFINE(NEW_PROC_API, 1,
[Define if you want to use new multi-fd /proc interface
(replaces HAVE_MULTIPLE_PROC_FDS as well as other macros).])
;;
Removing that bit is preapproved.
(bfd has a couple hits too, and so does src/config/. The latter
gets propagated to configure things all over the src tree.)
> 2013-09-02 Yao Qi <yao@codesourcery.com>
>
> * defs.h (enum gdb_osabi): Remove GDB_OSABI_INTERIX.
> * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Remove
> obsolete comments.
> * osabi.c (gdb_osabi_names): Remove "Interix".
OK.
Thanks,
--
Pedro Alves