]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Change gdb_realpath_keepfile to return a unique_xmalloc_ptr
authorTom Tromey <tom@tromey.com>
Thu, 3 Aug 2017 22:34:56 +0000 (16:34 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 22 Aug 2017 15:30:11 +0000 (09:30 -0600)
commit4971c9a74b47103582834e46d0185390379e60b3
tree222a7707d371fc4eda57210839ae91c900132960
parente3e41d588adbe26a6ca54338dd4915382d981a3e
Change gdb_realpath_keepfile to return a unique_xmalloc_ptr

This changes gdb_realpath_keepfile to return a unique_xmalloc_ptr, and
fixes up the callers.

ChangeLog
2017-08-22  Tom Tromey  <tom@tromey.com>

* utils.c (gdb_realpath_keepfile): Return a
gdb::unique_xmalloc_ptr.
* exec.c (exec_file_attach): Update.
* utils.h (gdb_realpath_keepfile): Return a
gdb::unique_xmalloc_ptr.
gdb/ChangeLog
gdb/exec.c
gdb/utils.c
gdb/utils.h