This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/7] Use canonicalize_file_name unconditionally
- From: Yao Qi <yao at codesourcery dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 28 Nov 2014 11:07:19 +0800
- Subject: Re: [PATCH 6/7] Use canonicalize_file_name unconditionally
- Authentication-results: sourceware.org; auth=none
- References: <1416980800-21408-1-git-send-email-yao at codesourcery dot com> <1416980800-21408-7-git-send-email-yao at codesourcery dot com> <20141127073600 dot GA5042 at adacore dot com>
Joel Brobecker <brobecker@adacore.com> writes:
> I guess one step at a time, but why not use canonicalize_file_name
> on Windows hosts as well? My question is not necessarily to suggest
> that we should be doing it, but rather whether you know of a reason
> why we should not be doing it...
Hi Joel,
The code handling Windows host was added by your patch below
[RFA/commit] Improve gdb_realpath for Windows hosts
https://sourceware.org/ml/gdb-patches/2011-12/msg00785.html
in order to handle a weird case that compiler produces some debug
info where the path has double backslashes. I am not sure gnulib
realpath is able to handle such case, so I leave the code for Windows
host there.
--
Yao (éå)