Re: Fix lookup of separate debug file on MS-Windows

Simon Marchi
2019-04-21T12:55:11Z

On 2019-04-21 8:05 a.m., Eli Zaretskii wrote:
> Ping!
>
> Would people please voice their opinions regarding preservation of the
> drive letter (and removing the colon) vs just dropping the drive
> letter altogether? I'd like to fix this issue for the upcoming
> release of GDB 8.3.

I first read your patch (which initiated this thread), and my first reaction was
also to be surprised that we would lose the drive letter. The risk of clash
is low, but why take that risk at all when it's easy enough to keep the drive letter
and just strip the colon?

I don't know the complete history of this, so if you know about distributions that
place debug files in a path without the drive letter (what your patch implements),
then I would be fine if GDB looked in both places, starting with the path including
the drive letter.

Simon