old-cross-binutils/gdb/testsuite/gdb.python
Jan Kratochvil 14e75d8ea4 gdb/
PR symtab/7259:
	* ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
	* ada-lang.c (ada_discrete_type_high_bound)
	(ada_discrete_type_low_bound): Use TYPE_FIELD_ENUMVAL for
	TYPE_CODE_ENUM.
	(ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
	(pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
	* ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.
	Use TYPE_FIELD_ENUMVAL.
	* ada-valprint.c (print_optional_low_bound, ada_print_scalar)
	(ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
	* c-typeprint.c (c_type_print_base): Move variable lastval to inner
	block, change it to LONGEST.  Use TYPE_FIELD_ENUMVAL for
	TYPE_CODE_ENUM.
	* coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL.
	* dwarf2read.c (process_enumeration_scope): Likewise.
	* gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of
	field.bitpos.
	(class StructMainTypePrettyPrinter): Support also
	FIELD_LOC_KIND_ENUMVAL.
	* gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for
	TYPE_CODE_ENUM.
	(recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
	(copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL.
	* gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL.
	(struct main_type.flds_bnds.fields.loc): Adjust bitpos comment.  New
	field enumval.
	(struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to
	accommodate enumval.
	(struct call_site): Adjust loc_kind to accommodate enumval.
	(FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL)
	(TYPE_FIELD_ENUMVAL): New macros.
	* m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL.
	* mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for
	TYPE_CODE_ENUM.
	* p-typeprint.c (pascal_type_print_base): Likewise.
	* python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use
	enumval.
	* python/lib/gdb/types.py (make_enum_dict): Likewise.
	* python/py-type.c (convert_field): New variable addrstring.  Use
	TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
	(check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL.
	* stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL.
	* typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for
	TYPE_CODE_ENUM.
	* valprint.c (generic_val_print): Likewise.

gdb/testsuite/
	PR symtab/7259:
	* gdb.base/enumval.c: New test case.
	* gdb.base/enumval.exp: New test case.
	* gdb.python/py-type.exp (test_enums): Use field.enumval instead of
	field.bitpos.
2012-04-18 06:46:47 +00:00
..
lib-types.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
lib-types.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
Makefile.in 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-block.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-block.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-breakpoint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-breakpoint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-cmd.exp * NEWS: Mention new python command class gdb.COMMAND_USER. 2012-03-01 19:30:25 +00:00
py-error.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-error.py Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-events-shlib.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-events.c 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> 2012-01-05 13:11:31 +00:00
py-events.exp PR python/12070: 2012-02-17 19:24:27 +00:00
py-events.py PR python/12070: 2012-02-17 19:24:27 +00:00
py-evsignal.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-evthreads.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-evthreads.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-explore-cc.exp 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-explore.c 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-explore.cc 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-explore.exp 2012-04-02 Siva Chandra Reddy <sivachandra@google.com> 2012-04-11 05:50:44 +00:00
py-finish-breakpoint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-finish-breakpoint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint.py 2012-01-20 Pedro Alves <palves@redhat.com> 2012-01-20 20:00:14 +00:00
py-finish-breakpoint2.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-finish-breakpoint2.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-finish-breakpoint2.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-frame-inline.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-frame-inline.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-frame.c 2010-02-28 Phil Muldoon <pmuldoon@redhat.com> 2010-02-28 21:56:50 +00:00
py-frame.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-function.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-inferior.c py-inferior.exp: Make sure local var is allocated on the stack. 2011-06-08 16:56:11 +00:00
py-inferior.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-infthread.c 2010-06-28 Phil Muldoon <pmuldoon@redhat.com> 2010-06-28 21:16:04 +00:00
py-infthread.exp * gdb.ada/array_bounds.exp: Get breakpoint for line 2012-03-08 22:19:48 +00:00
py-mi.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile-script-gdb.py.in Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile-script.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile-script.exp gdb/ 2012-04-17 15:54:35 +00:00
py-objfile.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-objfile.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-parameter.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-pp-maint.c gdb 2012-01-16 19:44:16 +00:00
py-pp-maint.exp gdb 2012-01-16 19:44:16 +00:00
py-pp-maint.py gdb 2012-01-16 19:44:16 +00:00
py-prettyprint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-prettyprint.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-prettyprint.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-progspace.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-progspace.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-prompt.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-prompt.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-section-script.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-section-script.exp gdb/ 2012-04-17 15:54:35 +00:00
py-section-script.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-shared-sl.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-shared.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-shared.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-symbol.c PR python/12027: 2012-02-07 19:47:16 +00:00
py-symbol.exp * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests 2012-02-08 19:58:25 +00:00
py-symtab.exp PR python/13599: 2012-02-07 19:42:27 +00:00
py-template.cc Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-template.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
py-type.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-type.exp gdb/ 2012-04-18 06:46:47 +00:00
py-value-cc.exp 2012-03-14 Siva Chandra <sivachandra@google.com> 2012-03-22 08:10:44 +00:00
py-value.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
py-value.cc 2012-03-14 Siva Chandra <sivachandra@google.com> 2012-03-22 08:10:44 +00:00
py-value.exp 2012-01-16 Pedro Alves <palves@redhat.com> 2012-01-16 16:21:53 +00:00
python-1.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
python.c Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
python.exp * gdb.python: Add test for linespecs with commas. 2012-03-30 19:16:52 +00:00
source1 Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00
source2.py Copyright year update in most files of the GDB Project. 2012-01-04 08:28:28 +00:00