diff options
author | Tom Tromey <tom@tromey.com> | 2017-04-28 22:43:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-08-03 07:58:59 -0600 |
commit | b3bc84537bc6de78e2bbd550ce9c57dd4b7e2ec6 (patch) | |
tree | 26d6e6f337d8b20f02876c2b36b990b4a1a5c6fc /gdb/ChangeLog | |
parent | e3ad2841b1c75837a901618651fed23013643e3f (diff) | |
download | gdb-b3bc84537bc6de78e2bbd550ce9c57dd4b7e2ec6.zip gdb-b3bc84537bc6de78e2bbd550ce9c57dd4b7e2ec6.tar.gz gdb-b3bc84537bc6de78e2bbd550ce9c57dd4b7e2ec6.tar.bz2 |
Remove make_cleanup_free_so
make_cleanup_free_so is used in a single spot. This patch introduces
a unique pointer wrapper for struct so_list, and changes this spot to
use it.
ChangeLog
2017-08-03 Tom Tromey <tom@tromey.com>
* utils.h (make_cleanup_free_so): Remove.
* utils.c (do_free_so, make_cleanup_free_so): Remove.
* solist.h (struct so_deleter): New.
(so_list_up): New typedef.
* solib-svr4.c (svr4_read_so_list): Use so_list_up.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8dcb9f..6205264 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2017-08-03 Tom Tromey <tom@tromey.com> + * utils.h (make_cleanup_free_so): Remove. + * utils.c (do_free_so, make_cleanup_free_so): Remove. + * solist.h (struct so_deleter): New. + (so_list_up): New typedef. + * solib-svr4.c (svr4_read_so_list): Use so_list_up. + +2017-08-03 Tom Tromey <tom@tromey.com> + * utils.h (make_cleanup_restore_current_language): Remove. * utils.c (do_restore_current_language) (make_cleanup_restore_current_language): Remove. |