old-cross-binutils/gdb/testsuite/gdb.python
Tom Tromey cafec44190 gdb
PR python/13281:
	* gdbtypes.h (TYPE_FLAG_ENUM): New macro.
	(struct main_type) <flag_flag_enum>: New field.
	* dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
	* NEWS: Add entries.
	* c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
	enums.
	* python/lib/gdb/printing.py (_EnumInstance): New class.
	(FlagEnumerationPrinter): Likewise.
gdb/doc
	* gdb.texinfo (gdb.printing): Document FlagEnumerationPrinter.
gdb/testsuite
	* gdb.base/printcmds.c (enum flag_enum): New.
	(three): New global.
	* gdb.base/printcmds.exp (test_print_enums): Add test for flag
	enum printing.
	* gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
	FlagEnumerationPrinter.
	* gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
	* gdb.python/py-pp-maint.c (enum flag_enum): New.
	(fval): New global.
2012-01-16 19:44:16 +00:00
..
lib-types.cc
lib-types.exp
Makefile.in
py-block.c
py-block.exp
py-breakpoint.c
py-breakpoint.exp
py-cmd.exp
py-error.exp
py-error.py
py-events-shlib.c
py-events.c
py-events.exp
py-events.py
py-evsignal.exp
py-evthreads.c
py-evthreads.exp
py-finish-breakpoint.c
py-finish-breakpoint.exp
py-finish-breakpoint.py
py-finish-breakpoint2.cc
py-finish-breakpoint2.exp
py-finish-breakpoint2.py
py-frame-inline.c
py-frame-inline.exp
py-frame.c
py-frame.exp
py-function.exp
py-inferior.c
py-inferior.exp
py-infthread.c
py-infthread.exp
py-mi.exp
py-objfile-script-gdb.py.in
py-objfile-script.c
py-objfile-script.exp
py-objfile.c
py-objfile.exp
py-parameter.exp
py-pp-maint.c
py-pp-maint.exp
py-pp-maint.py
py-prettyprint.c
py-prettyprint.exp
py-prettyprint.py
py-progspace.c
py-progspace.exp
py-prompt.c
py-prompt.exp
py-section-script.c
py-section-script.exp
py-section-script.py
py-shared-sl.c
py-shared.c
py-shared.exp
py-symbol.c
py-symbol.exp
py-symtab.exp
py-template.cc
py-template.exp
py-type.c
py-type.exp
py-value.c
py-value.exp
python-1.c
python.c
python.exp
source1
source2.py