Re: RFC: add relative file name handling for linespecs

Eli Zaretskii
2012-01-12T05:59:48Z

> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Wed, 11 Jan 2012 14:49:37 -0700
>
> Eli> What about the (somewhat perverse) case of "d:foo/bar" and "foo/bar"
> Eli> on Windows?
>
> Would something like this work?
>
> || (HAS_DRIVE_SPEC (filename) && len - search_len == 2)

Yes, I think it will.

Thanks.