binutils-gdb/gdb/compile
Tom Tromey c9e0a7e333 Remove munmap_listp_free_cleanup
This removes munmap_listp_free_cleanup, replacing it with a
std::unique_ptr at one spot and an explicit delete in another.  It
seemed simplest to completely change this data structure.

gdb/ChangeLog
2018-09-18  Tom Tromey  <tom@tromey.com>

	* compile/compile-object-run.c (do_module_cleanup): Use delete.
	* compile/compile-object-load.c (struct munmap_list): Move to
	header file.
	(munmap_list::add): Rename from munmap_list_add; rewrite.
	(munmap_list::~munmap_list): Rename from munmap_list_free.
	(munmap_listp_free_cleanup): Remove.
	(compile_object_load): Update.
	* compile/compile-object-load.h (struct munmap_list): Move from
	compile-object-load.c.  Rewrite.
2018-09-18 10:18:04 -06:00
..
compile-c-support.c compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-c-symbols.c compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-c-types.c compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-c.h compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-cplus-symbols.c compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-cplus-types.c Fix use-after-move in compile/compile-cplus-types.c 2018-09-17 13:11:07 -04:00
compile-cplus.h compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-internal.h compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-loc2c.c compile: Remove non-const reference parameters 2018-09-06 13:48:15 +01:00
compile-object-load.c Remove munmap_listp_free_cleanup 2018-09-18 10:18:04 -06:00
compile-object-load.h Remove munmap_listp_free_cleanup 2018-09-18 10:18:04 -06:00
compile-object-run.c Remove munmap_listp_free_cleanup 2018-09-18 10:18:04 -06:00
compile-object-run.h
compile.c python: Make gdb.execute("show commands") work (PR 23669) 2018-09-17 08:26:24 -04:00
compile.h python: Make gdb.execute("show commands") work (PR 23669) 2018-09-17 08:26:24 -04:00
gcc-c-plugin.h
gcc-cp-plugin.h C++ compile support 2018-08-29 15:12:24 -07:00