diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-10-18 18:50:43 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-10-18 18:50:43 +0000 |
commit | f2abfe65b6896316aadf9e210a1b6b71fffba530 (patch) | |
tree | b8b498ac7beff720f7c41501bb8efab8c1c7fee1 /gdb | |
parent | 75504fede85b00cee3bc924be5fe340ab719a88a (diff) | |
download | gdb-f2abfe65b6896316aadf9e210a1b6b71fffba530.zip gdb-f2abfe65b6896316aadf9e210a1b6b71fffba530.tar.gz gdb-f2abfe65b6896316aadf9e210a1b6b71fffba530.tar.bz2 |
* gdbint.texinfo (Address Classes): Fix problems with insertion
of ``{'' and ``}'' in example.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 2b0ec6e..1923c8b 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -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. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index eef2b86..cdb06b2 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -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 |