[RFC] Apply compilation dir to source_path lookup
Eli Zaretskii
eliz@gnu.org
Fri Sep 13 07:28:00 GMT 2019
> Date: Fri, 13 Sep 2019 09:36:42 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> CC: mgulick@mathworks.com, gdb-patches@sourceware.org
>
> > @value{GDBN} will also append the compilation
> > +directory to the filename and check this against all other entries in
> > +the source path.
>
> I think "append" here is a mistake. Should it be "prepend"? And
> anyway, doesn't this simply repeat what was described in the text
> above?
Btw, do the "prepend" and "append", as implemented, take care to DTRT
with Windows drive letters at the beginning of absolute file names? A
literal prepending or appending will do the wrong thing there.
More information about the Gdb-patches
mailing list