[binutils-gdb] Change rewrite_source_path to return a unique_xmalloc_ptr
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Tue Aug 22 17:41:00 GMT 2017
*** TEST RESULTS FOR COMMIT 0b581c69fe7186d7d0ea1283c7ecf9839a8827cc ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0b581c69fe7186d7d0ea1283c7ecf9839a8827cc
Change rewrite_source_path to return a unique_xmalloc_ptr
This changes rewrite_source_path to return a unique_xmalloc_ptr and
fixes up the callers. This allows removing some cleanups.
ChangeLog
2017-08-22 Tom Tromey <tom@tromey.com>
* source.h (rewrite_source_path): Return a unique_xmalloc_ptr.
* source.c (rewrite_source_path): Return a unique_xmalloc_ptr.
(find_and_open_source, symtab_to_fullname): Update.
* psymtab.c (psymtab_to_fullname): Update.
More information about the Gdb-testers
mailing list