Re: RFC: support debug info in separate files

Eli Zaretskii
2002-12-10T20:32:27Z

> From: Elena Zannoni <ezannoni@redhat.com>
> Date: Tue, 10 Dec 2002 00:00:47 -0500
>
> > + strcat (debugfile, ".debug/");
> [...]
>
> > + strcat (debugfile, "/");
>
> [...]
> > + strcat (debugfile, "/");
>
> Should these be DIR_SEPARATOR instead? I guess DJGPP doesn't care though.

Neither DJGPP nor any other DOS/Windows port of GDB should care, since
DOS and Windows system calls support both flavors of slashes alike.

In general, DIR_SEPARATOR should be used when testing characters to be
separators, but there's no need to do that when constructing file
names.