This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add two new OS ABI variants
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 9 Jun 2002 17:13:28 +0200 (CEST)
- Subject: [PATCH] Add two new OS ABI variants
As a preparation for my i386 multi-arch work, this patch adds
GDB_OS_GO32 and GDB_OS_NETWARE (DJGPP, and Novell Netware) and
documents them.
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
* osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare".
Index: doc/ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Document
GDB_OSABI_GO32 and GDB_OSABI_NETWARE.
Index: osabi.c
===================================================================
RCS file: /cvs/src/src/gdb/osabi.c,v
retrieving revision 1.1
diff -u -p -r1.1 osabi.c
--- osabi.c 21 May 2002 15:36:02 -0000 1.1
+++ osabi.c 9 Jun 2002 15:08:19 -0000
@@ -40,6 +40,8 @@ static const char * const gdb_osabi_name
"NetBSD a.out",
"NetBSD ELF",
"Windows CE",
+ "DJGPP",
+ "NetWare",
"ARM EABI v1",
"ARM EABI v2",
Index: osabi.h
===================================================================
RCS file: /cvs/src/src/gdb/osabi.h,v
retrieving revision 1.1
diff -u -p -r1.1 osabi.h
--- osabi.h 21 May 2002 15:36:02 -0000 1.1
+++ osabi.h 9 Jun 2002 15:08:19 -0000
@@ -37,6 +37,8 @@ enum gdb_osabi
GDB_OSABI_NETBSD_AOUT,
GDB_OSABI_NETBSD_ELF,
GDB_OSABI_WINCE,
+ GDB_OSABI_GO32,
+ GDB_OSABI_NETWARE,
GDB_OSABI_ARM_EABI_V1,
GDB_OSABI_ARM_EABI_V2,
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.89
diff -u -p -r1.89 gdbint.texinfo
--- doc/gdbint.texinfo 9 Jun 2002 02:11:12 -0000 1.89
+++ doc/gdbint.texinfo 9 Jun 2002 15:08:26 -0000
@@ -2386,6 +2386,14 @@ NetBSD using the ELF executable format
@item GDB_OSABI_WINCE
Windows CE
+@findex GDB_OSABI_GO32
+@item GDB_OSABI_GO32
+DJGPP
+
+@findex GDB_OSABI_NETWARE
+@item GDB_OSABI_NETWARE
+Novell NetWare
+
@findex GDB_OSABI_ARM_EABI_V1
@item GDB_OSABI_ARM_EABI_V1
ARM Embedded ABI version 1