binutils-gdb/gdb/python
Tom Tromey 894882e344 Remove a VEC from type.c
This removes a VEC from type.c, by using std::vector.

While doing this I also took the opportunity to change
types_deeply_equal to return bool.  This caught some weird code in
typy_richcompare, now fixed.

And, since I was changing types_deeply_equal, it seemed like a good
idea to also change types_equal, so this patch includes that as well.

Tested by the buildbot.

ChangeLog
2018-05-29  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (typy_richcompare): Update.
	* guile/scm-type.c (tyscm_equal_p_type_smob): Update.
	* gdbtypes.h (types_deeply_equal): Return bool.
	(types_equal): Likewise.
	* gdbtypes.c (type_equality_entry_d): Remove typedef.  Don't
	declare VEC.
	(check_types_equal): Change worklist to std::vector.  Return
	bool.
	(struct type_equality_entry): Add constructor.
	(compare_maybe_null_strings): Return bool.
	(check_types_worklist): Return bool.  Change worklist to
	std::vector.
	(types_deeply_equal): Use std::vector.
	(types_equal): Return bool.
	(compare_maybe_null_strings): Simplify.
2018-05-29 11:44:12 -06:00
..
lib/gdb
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c Allow breakpoint commands to be set from Python 2018-05-04 15:58:09 -06:00
py-cmd.c Change Python code to use new_reference 2018-04-30 11:33:12 -06:00
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-frame.c
py-framefilter.c Remove some uses of is_mi_like_p from py-framefilter.c 2018-04-30 12:59:04 -06:00
py-function.c
py-gdb-readline.c
py-inferior.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c
py-param.c Handle var_zuinteger and var_zuinteger_unlimited from Python 2018-05-02 10:31:55 -06:00
py-prettyprint.c
py-progspace.c
py-record-btrace.c btrace: set/show record btrace cpu 2018-04-13 11:35:55 +02:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-type.c Remove a VEC from type.c 2018-05-29 11:44:12 -06:00
py-unwind.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-utils.c
py-value.c Introduce a gdb_ref_ptr specialization for struct value 2018-04-06 15:44:46 -06:00
py-varobj.c
py-xmethods.c
python-config.py configure uses incorrect link order when testing libpython 2018-05-04 10:08:09 -04:00
python-internal.h
python.c Remove interp_ui_out 2018-05-25 12:41:01 -06:00
python.h