Remove cleanup from ppc-linux-nat.c
authorTom Tromey <tom@tromey.com>
Thu, 12 Oct 2017 22:24:13 +0000 (16:24 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 16 Oct 2017 22:10:20 +0000 (16:10 -0600)
commita90ecff85af9d9275f540227825ba62bdafc976d
tree4d79cccb523620557891a525b9ea324fcf26e85d
parent2dc0e219715356c6acbc3bea85ddec288f752f1f
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.
gdb/ChangeLog
gdb/ppc-linux-nat.c
This page took 0.025679 seconds and 4 git commands to generate.