Re: [patch gdb]: Fix some DOS-path related issues in gdb

Kai Tietz
2011-03-03T13:48:16Z

2011/3/3 Eli Zaretskii <eliz@gnu.org>:
>> Date: Thu, 3 Mar 2011 13:10:13 +0100
>> From: Kai Tietz <ktietz70@googlemail.com>
>>
>> Sorry, first post were sent to wrong list. This patch fixes some
>> issues related to DOS file-system filenames and paths. I am not sure,
>> if I hit all places, nevertheless I am sure I hit most.
>> This patch uses the libiberty functions & macros about
>> directory-separator checks, absolute-path checks, and the
>> filename-comparision functions.
>
> The patch looks okay to me, but please do NOT install the changes for
> the following files, which cannot possibly meet with this issue:
> bsd-kvm.c, elfread.c, mdebugread.c, nto-procfs.c, rs6000-nat.c,
> xcoffread.c, fbsd-nat.c, linux-fork.c linux-nat.c, linux-thread-db,
> nto-tdep.c.
>
> Thanks for working on this.
>

Ok, the obvious native-parts - not using DOS-style file/paths - I
removed. The files elfread.c, mdebugread.c are also used for a x64
windows target, so I think those parts of patch should be kept. They
don't seem to be host-specific to me.

Regards,
Kai