binutils-gdb/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/gdb gdb 2012-01-16 19:44:16 +00:00
py-auto-load.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-block.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-bpevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-breakpoint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-cmd.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-continueevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-event.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-event.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-events.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-evtregistry.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-evts.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-exitedevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-finishbreakpoint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-frame.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-function.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-inferior.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-infthread.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-lazy-string.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-newobjfileevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-objfile.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-param.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-prettyprint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-progspace.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-signalevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-stopevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-stopevent.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-symbol.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-symtab.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-threadevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-type.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-utils.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-value.c * python/py-value.c (valpy_binop): Initialize 'res_val'. 2012-01-04 16:15:14 +00:00
python-config.py allow building GDB with Python support on MinGW 2011-01-31 04:42:08 +00:00
python-internal.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
python.c PR python/13199: 2012-01-10 21:26:39 +00:00
python.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00