This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/5] Introduce build_debug_file_name
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: gdb-patches at sourceware dot org, CÃdric Buissart <cedric dot buissart at gmail dot com>
- Date: Sat, 25 Jul 2015 18:19:53 +0200
- Subject: Re: [PATCH 1/5] Introduce build_debug_file_name
- Authentication-results: sourceware.org; auth=none
- References: <1434447768-17328-1-git-send-email-gbenson at redhat dot com> <1434447768-17328-2-git-send-email-gbenson at redhat dot com>
On Tue, 16 Jun 2015 11:42:44 +0200, Gary Benson wrote:
> +/* Build the filename of a separate debug file from an arbitrary
> + number of components. Returns an xmalloc'd string that must
> + be be freed by the caller. The final argument of this function
> + must be NULL to mark the end the argument list. */
I would describe also:
Initial slash is left in place. Additionally a slash is appended at the
end.
Jan