This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Change rewrite_source_path to return a unique_xmalloc_ptr
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 22 Aug 2017 13:23:10 -0400
- Subject: [binutils-gdb] Change rewrite_source_path to return a unique_xmalloc_ptr
- Authentication-results: sourceware.org; auth=none
*** 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.