From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12744 invoked by alias); 1 Feb 2007 09:26:46 -0000 Received: (qmail 12606 invoked by uid 22791); 1 Feb 2007 09:26:45 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate1.de.ibm.com (HELO mtagate1.de.ibm.com) (195.212.29.150) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 01 Feb 2007 09:26:37 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.13.8/8.13.8) with ESMTP id l119QYw1053674 for ; Thu, 1 Feb 2007 09:26:34 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.2) with ESMTP id l119QY3F1720436 for ; Thu, 1 Feb 2007 10:26:34 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l119QXlm006074 for ; Thu, 1 Feb 2007 10:26:33 +0100 Received: from [9.152.248.39] (dyn-9-152-248-39.boeblingen.de.ibm.com [9.152.248.39]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l119QXS8006071 for ; Thu, 1 Feb 2007 10:26:33 +0100 Message-ID: <45C1B248.9000209@de.ibm.com> Date: Thu, 01 Feb 2007 09:26:00 -0000 From: Markus Deuling User-Agent: Thunderbird 1.5.0.9 (X11/20070102) MIME-Version: 1.0 To: GDB Patches Subject: [Patch]: Add descriptions to gdb/doc/gdbint.texinfo Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00002.txt.bz2 Hi, this patch updates the descriptions of the elements in enum gdb_osabi and adds a description for function generic_elf_osabi_sniff_abi_tag_sections from osabi.h to GDB Internals. If ok then please commit. ChangeLog: * gdbint.texinfo (Operation System ABI Variant Handling): Update descriptions for new/deleted elements in gdb_osabi. Add missing description for function generic_elf_osabi_sniff_abi_tag_sections. =============================================== diff -urN src/gdb/doc/gdbint.texinfo dev/gdb/doc/gdbint.texinfo --- src/gdb/doc/gdbint.texinfo 2007-01-20 17:51:56.000000000 +0100 +++ dev/gdb/doc/gdbint.texinfo 2007-02-01 10:13:12.000000000 +0100 @@ -2615,10 +2615,14 @@ selected OS ABI. There may be only one handler for a given OS ABI for each BFD architecture. -The following OS ABI variants are defined in @file{osabi.h}: +The following OS ABI variants are defined in @file{defs.h}: @table @code +@findex GDB_OSABI_UNINITIALIZED +@item GDB_OSABI_UNINITIALIZED +Used for struct gdbarch_info if ABI is still uninitialized. + @findex GDB_OSABI_UNKNOWN @item GDB_OSABI_UNKNOWN The ABI of the inferior is unknown. The default @code{gdbarch} @@ -2626,63 +2630,87 @@ @findex GDB_OSABI_SVR4 @item GDB_OSABI_SVR4 -UNIX System V Release 4 +UNIX System V Release 4. @findex GDB_OSABI_HURD @item GDB_OSABI_HURD -GNU using the Hurd kernel +GNU using the Hurd kernel. @findex GDB_OSABI_SOLARIS @item GDB_OSABI_SOLARIS -Sun Solaris +Sun Solaris. @findex GDB_OSABI_OSF1 @item GDB_OSABI_OSF1 -OSF/1, including Digital UNIX and Compaq Tru64 UNIX +OSF/1, including Digital UNIX and Compaq Tru64 UNIX. @findex GDB_OSABI_LINUX @item GDB_OSABI_LINUX -GNU using the Linux kernel +GNU using the Linux kernel. @findex GDB_OSABI_FREEBSD_AOUT @item GDB_OSABI_FREEBSD_AOUT -FreeBSD using the a.out executable format +FreeBSD using the a.out executable format. @findex GDB_OSABI_FREEBSD_ELF @item GDB_OSABI_FREEBSD_ELF -FreeBSD using the ELF executable format +FreeBSD using the ELF executable format. @findex GDB_OSABI_NETBSD_AOUT @item GDB_OSABI_NETBSD_AOUT -NetBSD using the a.out executable format +NetBSD using the a.out executable format. @findex GDB_OSABI_NETBSD_ELF @item GDB_OSABI_NETBSD_ELF -NetBSD using the ELF executable format +NetBSD using the ELF executable format. + +@findex GDB_OSABI_OPENBSD_ELF +@item GDB_OSABI_OPENBSD_ELF +OpenBSD using the ELF executable format. @findex GDB_OSABI_WINCE @item GDB_OSABI_WINCE -Windows CE +Windows CE. @findex GDB_OSABI_GO32 @item GDB_OSABI_GO32 -DJGPP +DJGPP. @findex GDB_OSABI_NETWARE @item GDB_OSABI_NETWARE -Novell NetWare +Novell NetWare. -@findex GDB_OSABI_ARM_EABI_V1 -@item GDB_OSABI_ARM_EABI_V1 -ARM Embedded ABI version 1 - -@findex GDB_OSABI_ARM_EABI_V2 -@item GDB_OSABI_ARM_EABI_V2 -ARM Embedded ABI version 2 - -@findex GDB_OSABI_ARM_APCS -@item GDB_OSABI_ARM_APCS -Generic ARM Procedure Call Standard +@findex GDB_OSABI_IRIX +@item GDB_OSABI_IRIX +Irix. + +@findex GDB_OSABI_LYNXOS +@item GDB_OSABI_LYNXOS +LynxOS. + +@findex GDB_OSABI_INTERIX +@item GDB_OSABI_INTERIX +Irix. + +@findex GDB_OSABI_HPUX_ELF +@item GDB_OSABI_HPUX_ELF +HP/UX using the ELF executable format. + +@findex GDB_OSABI_HPUX_SOM +@item GDB_OSABI_HPUX_SOM +HP/UX using the SOM executable format. + +@findex GDB_OSABI_QNXNTO +@item GDB_OSABI_QNXNTO +QNX Neutrino. + +@findex GDB_OSABI_CYGWIN +@item GDB_OSABI_CYGWIN +Cygwin. + +@findex GDB_OSABI_AIX +@item GDB_OSABI_AIX +AIX. @end table @@ -2722,6 +2750,10 @@ with the defaults already established for @var{gdbarch}. @end deftypefun +@deftypefun void generic_elf_osabi_sniff_abi_tag_sections (bfd *@var{abfd}, asection *@var{sect}, void *@var{obj}) +Helper routine for ELF file sniffers. Examine the file described by @var{abfd} and looks at ABI tag note sections to determine the OS ABI from the note. It should be called via @code{bfd_map_over_sections}. +@end deftypefun + @section Initializing a New Architecture Each @code{gdbarch} is associated with a single @sc{bfd} architecture, Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com