a9ff5f1 Remove obsolete TYPE_FLAG_... values

Authored and Committed by Ulrich Weigand 7 years ago
    Remove obsolete TYPE_FLAG_... values
    
    Now that init_type no longer takes a FLAGS argument, there is no user of
    the TYPE_FLAGS_... enum values left.  This commit removes them (and all
    references to them in comments as well).
    
    This is mostly a no-op, except for a change to the Python type printer,
    which attempted to use them before.  (As best as I can tell, this wasn't
    really needed anyway, since it was only used to pretty-print type
    *instance* flags, which only use the instance flags.)
    
    gdb/ChangeLog:
    
    	* gdbtypes.h (enum type_flag_value): Remove.
    	Remove references to TYPE_FLAG_... in comments throughout.
    	* gdbtypes.c (recursive_dump_type): Do not print TYPE_FLAG_...
    	flags, print the corresponding TYPE_... access macro names.
    	Remove references to TYPE_FLAG_... in comments throughout.
    	* infcall.c: Remove references to TYPE_FLAG_... in comments.
    	* valprint.c: Likewise.
    	* gdb-gdb.py (class TypeFlag): No longer consider TYPE_FLAG_...
    	values, only TYPE_INSTANCE_FLAG_... values.
    	(class TypeFlagsPrinter): Likewise.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
    
    Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
    
        
file modified
+13 -0
file modified
+9 -23
file modified
+18 -18
file modified
+6 -33
file modified
+3 -4
file modified
+4 -0
file modified
+3 -4