This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Remove GDB_OSABI_INTERIX
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Mon, 2 Sep 2013 21:03:48 +0800
- Subject: [PATCH] Remove GDB_OSABI_INTERIX
- Authentication-results: sourceware.org; auth=none
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.
I don't update gdbint.texinfo because Stan has imported it into the
wiki. I'll update the wiki page.
gdb:
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".
---
gdb/defs.h | 1 -
gdb/i386-cygwin-tdep.c | 2 --
gdb/osabi.c | 1 -
3 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/gdb/defs.h b/gdb/defs.h
index 74b607d..2ea49f8 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -587,7 +587,6 @@ enum gdb_osabi
GDB_OSABI_WINCE,
GDB_OSABI_GO32,
GDB_OSABI_IRIX,
- GDB_OSABI_INTERIX,
GDB_OSABI_HPUX_ELF,
GDB_OSABI_HPUX_SOM,
GDB_OSABI_QNXNTO,
diff --git a/gdb/i386-cygwin-tdep.c b/gdb/i386-cygwin-tdep.c
index dc5d614..a3e4e7c 100644
--- a/gdb/i386-cygwin-tdep.c
+++ b/gdb/i386-cygwin-tdep.c
@@ -267,8 +267,6 @@ i386_cygwin_osabi_sniffer (bfd *abfd)
{
char *target_name = bfd_get_target (abfd);
- /* Interix also uses pei-i386.
- We need a way to distinguish between the two. */
if (strcmp (target_name, "pei-i386") == 0)
return GDB_OSABI_CYGWIN;
diff --git a/gdb/osabi.c b/gdb/osabi.c
index a123ea0..249dac8 100644
--- a/gdb/osabi.c
+++ b/gdb/osabi.c
@@ -63,7 +63,6 @@ static const char * const gdb_osabi_names[] =
"Windows CE",
"DJGPP",
"Irix",
- "Interix",
"HP/UX ELF",
"HP/UX SOM",
"QNX Neutrino",
--
1.7.7.6