Change psymtab_search_name to return a unique_xmalloc_ptr
authorTom Tromey <tom@tromey.com>
Sat, 5 Aug 2017 16:40:15 +0000 (10:40 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 22 Aug 2017 15:30:13 +0000 (09:30 -0600)
commit56f37645249752378520a1c2430225c9cee09161
treeadb2a2fc529ce4c7763a3811b662a6d8e04f6246
parent0b581c69fe7186d7d0ea1283c7ecf9839a8827cc
Change psymtab_search_name to return a unique_xmalloc_ptr

This changes psymtab_search_name to return a unique_xmalloc_ptr and
fixes up its one caller.  This allows the removal of some cleanups.

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

* psymtab.c (psymtab_search_name): Return a unique_xmalloc_ptr.
(lookup_partial_symbol): Update.
gdb/ChangeLog
gdb/psymtab.c