This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Remove GDB_OSABI_INTERIX


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


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