From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32480 invoked by alias); 18 Oct 2002 18:57:36 -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 32471 invoked from network); 18 Oct 2002 18:57:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 18 Oct 2002 18:57:35 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g9IIaZw19774 for ; Fri, 18 Oct 2002 14:36:35 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9IIvZf05514 for ; Fri, 18 Oct 2002 14:57:35 -0400 Received: from localhost.localdomain (vpn50-24.rdu.redhat.com [172.16.50.24]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9IIvYT01999 for ; Fri, 18 Oct 2002 14:57:34 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id g9IIvTe10333 for gdb-patches@sources.redhat.com; Fri, 18 Oct 2002 11:57:29 -0700 Date: Fri, 18 Oct 2002 11:57:00 -0000 From: Kevin Buettner Message-Id: <1021018185728.ZM10332@localhost.localdomain> To: gdb-patches@sources.redhat.com Subject: [PATCH] doc/gdbint.texinfo: Fix problems with ``{'' and ``}'' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00305.txt.bz2 I've just committed (as obvious) the patch below. It fixes errors when running "make info" -- I had been doing "make pdf", thinking that would catch all of the problems. * gdbint.texinfo (Address Classes): Fix problems with insertion of ``{'' and ``}'' in example. Index: doc/gdbint.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v retrieving revision 1.105 diff -u -p -r1.105 gdbint.texinfo --- doc/gdbint.texinfo 17 Oct 2002 18:33:36 -0000 1.105 +++ doc/gdbint.texinfo 18 Oct 2002 18:48:51 -0000 @@ -2675,34 +2675,34 @@ to implement the address class macros: @smallexample somearch_address_class_type_flags (int byte_size, int dwarf2_addr_class) -{ +@{ if (byte_size == 2) return TYPE_FLAG_ADDRESS_CLASS_1; else return 0; -} +@} static char * somearch_address_class_type_flags_to_name (int type_flags) -{ +@{ if (type_flags & TYPE_FLAG_ADDRESS_CLASS_1) return "short"; else return NULL; -} +@} int somearch_address_class_name_to_type_flags (char *name, int *type_flags_ptr) -{ +@{ if (strcmp (name, "short") == 0) - { + @{ *type_flags_ptr = TYPE_FLAG_ADDRESS_CLASS_1; return 1; - } + @} else return 0; -} +@} @end smallexample The qualifier @code{@@short} is used in @value{GDBN}'s type expressions