binutils-gdb/gdb/python
Tom Tromey 6108fd1823 Use htab_up in type copying
This changes create_copied_types_hash to return an htab_up, then
modifies the callers to avoid explicit use of htab_delete.

gdb/ChangeLog
2020-09-17  Tom Tromey  <tom@tromey.com>

	* value.c (preserve_values): Update.
	* python/py-type.c (save_objfile_types): Update.
	* guile/scm-type.c (save_objfile_types): Update.
	* gdbtypes.h (create_copied_types_hash): Return htab_up.
	* gdbtypes.c (create_copied_types_hash): Return htab_up.
	* compile/compile-object-run.c (compile_object_run): Update.
2020-09-17 11:58:56 -06:00
..
lib/gdb
py-all-events.def
py-arch.c
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-cmd.c
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 Don't use PyLong_FromLongLong 2020-09-15 11:08:57 -06:00
py-finishbreakpoint.c
py-frame.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-framefilter.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-function.c
py-gdb-readline.c
py-inferior.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-infevents.c Don't use PyLong_FromLongLong 2020-09-15 11:08:57 -06:00
py-infthread.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-instruction.c
py-instruction.h
py-lazy-string.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-linetable.c
py-newobjfileevent.c
py-objfile.c
py-param.c
py-prettyprint.c
py-progspace.c
py-record-btrace.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-record.h
py-ref.h
py-registers.c
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-symtab.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-threadevent.c
py-tui.c Don't use PyLong_FromLong 2020-09-15 11:08:56 -06:00
py-type.c Use htab_up in type copying 2020-09-17 11:58:56 -06:00
py-unwind.c
py-utils.c
py-value.c Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h Don't use PyInt_FromLong 2020-09-15 11:08:57 -06:00
python.c Don't use PyLong_FromUnsignedLong 2020-09-15 11:08:57 -06:00
python.h