OSDN Git Service

* gdbint.texinfo (Address Classes): Fix problems with insertion
authorKevin Buettner <kevinb@redhat.com>
Fri, 18 Oct 2002 18:50:43 +0000 (18:50 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 18 Oct 2002 18:50:43 +0000 (18:50 +0000)
of ``{'' and ``}'' in example.

gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index 2b0ec6e..1923c8b 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-18  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdbint.texinfo (Address Classes): Fix problems with insertion
+       of ``{'' and ``}'' in example.
+
 2002-10-17  Kevin Buettner  <kevinb@redhat.com>
 
        * gdbint.texinfo (Address Classes): New section.
index bcc545b..fa477fa 100644 (file)
@@ -41,7 +41,7 @@ Software Foundation raise funds for GNU development.''
 @page
 @tex
 \def\$#1${{#1}}  % Kluge: collect RCS revision info without $...$
-\xdef\manvers{\$Revision: 1.105 $}  % For use in headers, footers too
+\xdef\manvers{\$Revision: 1.106 $}  % For use in headers, footers too
 {\parskip=0pt
 \hfill Cygnus Solutions\par
 \hfill \manvers\par
@@ -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