diff options
author | Tom Tromey <tom@tromey.com> | 2016-09-24 21:21:35 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-10-21 14:17:35 -0600 |
commit | cd9da5b077c21f0984cfbdac060ced6f4945ce06 (patch) | |
tree | f9ab9d7adc7b55c3744a9b3729af3a2eb7876701 /gdb/ChangeLog | |
parent | 1e3b796d58ac3c4396e1739f44a0a41de6335eef (diff) | |
download | gdb-cd9da5b077c21f0984cfbdac060ced6f4945ce06.zip gdb-cd9da5b077c21f0984cfbdac060ced6f4945ce06.tar.gz gdb-cd9da5b077c21f0984cfbdac060ced6f4945ce06.tar.bz2 |
Replace two xmallocs with unique_ptr
This replaces a couple of uses of xmalloc with gdb::unique_ptr, also
removing a couple of cleanups.
2016-10-21 Tom Tromey <tom@tromey.com>
* cli/cli-dump.c (dump_memory_to_file): Use gdb::unique_ptr.
(restore_binary_file): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1c58ab6..e28e774 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2016-10-21 Tom Tromey <tom@tromey.com> + * cli/cli-dump.c (dump_memory_to_file): Use gdb::unique_ptr. + (restore_binary_file): Likewise. + +2016-10-21 Tom Tromey <tom@tromey.com> + * maint.h (scoped_command_stats): New class. (make_command_stats_cleanup): Don't declare. * maint.c (struct cmd_stats): Remove. |