This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 6/7] Use canonicalize_file_name unconditionally


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]