diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-23 09:32:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-23 09:32:56 -0600 |
commit | e616f60a6bc233acdb9ad1c37833a976f21aecec (patch) | |
tree | c3e1f6866374fdf973167ef34ee18b88dacd31da /gdb/ChangeLog | |
parent | e947a8482ac8ea529869c15b6949e4f19272c747 (diff) | |
download | gdb-e616f60a6bc233acdb9ad1c37833a976f21aecec.zip gdb-e616f60a6bc233acdb9ad1c37833a976f21aecec.tar.gz gdb-e616f60a6bc233acdb9ad1c37833a976f21aecec.tar.bz2 |
Transfer module ownership to do_module_cleanup
This changes the do_module_cleanup structure to simply hold on to the
module itself. This lets us remove most members from
do_module_cleanup.
gdb/ChangeLog
2020-09-23 Tom Tromey <tom@tromey.com>
* compile/compile-object-run.c (struct do_module_cleanup): Add
parameters to constructor. Update destructor.
<source_file, scope, scope_data, out_value_type, out_value_addr,
munmap_list_head, objfile_name_string>: Remove.
<module>: New member.
(do_module_cleanup): Update.
(compile_object_run): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6f89a05..ce72b10 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2020-09-23 Tom Tromey <tom@tromey.com> + * compile/compile-object-run.c (struct do_module_cleanup): Add + parameters to constructor. Update destructor. + <source_file, scope, scope_data, out_value_type, out_value_addr, + munmap_list_head, objfile_name_string>: Remove. + <module>: New member. + (do_module_cleanup): Update. + (compile_object_run): Update. + +2020-09-23 Tom Tromey <tom@tromey.com> + * compile/compile.c (eval_compile_command): Update. * compile/compile-object-run.h (compile_object_run): Take a compile_module_up. |