gdbtypes.h: Fix comments regarding the following change:
Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com) * gdbtypes.h (struct type): Add field tag_name.
This commit is contained in:
parent
ebd2413529
commit
b4c2267b03
1 changed files with 10 additions and 4 deletions
|
@ -137,14 +137,20 @@ struct type
|
||||||
enum type_code code;
|
enum type_code code;
|
||||||
|
|
||||||
/* Name of this type, or NULL if none.
|
/* Name of this type, or NULL if none.
|
||||||
|
|
||||||
This is used for printing only, except by poorly designed C++ code.
|
This is used for printing only, except by poorly designed C++ code.
|
||||||
Type names specified as input are defined by symbols. */
|
For looking up a name, look for a symbol in the VAR_NAMESPACE. */
|
||||||
|
|
||||||
char *name;
|
char *name;
|
||||||
|
|
||||||
/* Tag name for this type, or NULL if none. This is a feature which is
|
/* Tag name for this type, or NULL if none. This means that the
|
||||||
specific to C/C++ for structs, unions, or enums.
|
name of the type consists of a keyword followed by the tag name.
|
||||||
This is used for printing only, except by poorly designed C++ code. */
|
Which keyword is determined by the type code ("struct" for
|
||||||
|
TYPE_CODE_STRUCT, etc.). As far as I know C/C++ are the only languages
|
||||||
|
with this feature.
|
||||||
|
|
||||||
|
This is used for printing only, except by poorly designed C++ code.
|
||||||
|
For looking up a name, look for a symbol in the STRUCT_NAMESPACE. */
|
||||||
|
|
||||||
char *tag_name;
|
char *tag_name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue