aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-10-29 15:04:33 -0600
committerTom Tromey <tom@tromey.com>2020-10-29 15:04:34 -0600
commit8a4f140205d1fb7240b154fd2f9074d7b42330b7 (patch)
tree871e1273de3a465496fcf4d037904c756ea48375 /gdb/ChangeLog
parentc20cb6860c27d6ef15a1e561f4be78e7b85952ac (diff)
downloadgdb-8a4f140205d1fb7240b154fd2f9074d7b42330b7.zip
gdb-8a4f140205d1fb7240b154fd2f9074d7b42330b7.tar.gz
gdb-8a4f140205d1fb7240b154fd2f9074d7b42330b7.tar.bz2
Change exec_close to be a method on program_space
exec_close uses the current program space, so it seemed cleaner to change it to be a method on program_space. This patch makes this change. gdb/ChangeLog 2020-10-29 Tom Tromey <tom@tromey.com> * progspace.c (program_space::exec_close): New method, from exec_close in exec.c. * exec.c (exec_close): Move to progspace.c. (exec_target::close, exec_file_attach): Update. * progspace.h (struct program_space) <exec_close>: Declare method.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 357c57f..d06ea47 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2020-10-29 Tom Tromey <tom@tromey.com>
+ * progspace.c (program_space::exec_close): New method, from
+ exec_close in exec.c.
+ * exec.c (exec_close): Move to progspace.c.
+ (exec_target::close, exec_file_attach): Update.
+ * progspace.h (struct program_space) <exec_close>: Declare
+ method.
+
+2020-10-29 Tom Tromey <tom@tromey.com>
+
* progspace.h (struct program_space) <exec_filename>: Rename from
pspace_exec_filename. Now a unique_xmalloc_ptr.
* inferior.c (print_selected_inferior): Update.