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] symfile.c, find_separate_debug_file



> > Date: Thu, 2 Aug 2007 18:14:44 -0700 (PDT)
> > From: msnyder@sonic.net
> >
> > Just for a change, here's one that was not inspired by Coverity.
> >
> > Find separate debug file does not work in the case where the path
> > lies in the global debug file directory -- because we stick an extra
> > slash into the pathname.
>
> Since when do extra slashes in a pathname hurt?

Well I don't know -- they seemed to hurt when I tried it,
and getting rid of them certainly seemed to help.

If I type /usr/lib//tmp/foo, isn't that equivalent, at least
in some contexts, to typing /tmp/foo?




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