diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-12 16:24:13 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-16 16:10:20 -0600 |
commit | a90ecff85af9d9275f540227825ba62bdafc976d (patch) | |
tree | 4d79cccb523620557891a525b9ea324fcf26e85d /gdb/ChangeLog | |
parent | 2dc0e219715356c6acbc3bea85ddec288f752f1f (diff) | |
download | binutils-gdb-a90ecff85af9d9275f540227825ba62bdafc976d.tar.gz |
Remove cleanup from ppc-linux-nat.c
This removes a cleanup from ppc-linux-nat.c, by using
unique_xmalloc_ptr. It also slightly simplifies the code by using
XDUP rather than XNEW and memcpy.
ChangeLog
2017-10-16 Tom Tromey <tom@tromey.com>
* ppc-linux-nat.c (hwdebug_insert_point): Use
gdb::unique_xmalloc_ptr, XDUP.
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 248b5d8f897..adca69334cd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2017-10-16 Tom Tromey <tom@tromey.com> + * ppc-linux-nat.c (hwdebug_insert_point): Use + gdb::unique_xmalloc_ptr, XDUP. + +2017-10-16 Tom Tromey <tom@tromey.com> + * probe.c (parse_probes): Use std::string. (info_probes_for_ops, enable_probes_command) (disable_probes_command): Remove cleanups. |