From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19322 invoked by alias); 6 Aug 2004 08:54:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19271 invoked from network); 6 Aug 2004 08:54:25 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 6 Aug 2004 08:54:25 -0000 Received: from zaretski (pns03-194-35.inter.net.il [80.230.194.35]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id EBY36198; Fri, 6 Aug 2004 11:54:05 +0300 (IDT) Date: Fri, 06 Aug 2004 08:54:00 -0000 From: "Eli Zaretskii" To: Jason Molenda Message-Id: <7137-Fri06Aug2004115131+0300-eliz@gnu.org> CC: gdb-patches@sources.redhat.com, jimb@redhat.com, kettenis@jive.nl, dpatel@apple.com In-reply-to: <4F2AF76A-E71B-11D8-B4BD-000A9569836A@apple.com> (message from Jason Molenda on Thu, 5 Aug 2004 13:09:08 -0700) Subject: Re: RFA/patch stabs reader: Recognize language hint in SO stab Reply-to: Eli Zaretskii References: <4F2AF76A-E71B-11D8-B4BD-000A9569836A@apple.com> X-SW-Source: 2004-08/txt/msg00152.txt.bz2 > From: Jason Molenda > Date: Thu, 5 Aug 2004 13:09:08 -0700 > > Eli, I added a table documenting these values to stabs.texinfo. Do you > think this is a correct use of a texinfo table? It is correct usage, if what you want in the result is this: `0x1 N_SO_AS' Assembly language `0x2 N_SO_C' K&R traditional C `0x3 N_SO_ANSI_C' ANSI C In other words, "@table @code" typesets the entire argument of each @item in the @code face (in Info, that is emulated by enclosing it in single quotes), and indents the text after the @item line by 4 spaces. Therefore, if the indentation and the general formatting of @table is okay with you, I think the following will look better: +@table @asis +@item @code{N_SO_AS} (0x1) +Assembly language +@item @code{N_SO_C} (0x2) +K&R traditional C etc., you get the point. This typesets only the N_SO_* symbols as @code, and also emphasizes the symbolic names rather than the numeric values, which I think is what we want. Thanks.