Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
To: ezannoni@redhat.com
Cc: jimb@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: RFC: support debug info in separate files
Date: Tue, 10 Dec 2002 12:43:00 -0000	[thread overview]
Message-ID: <2950-Tue10Dec2002223056+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <15861.29951.564644.347349@localhost.redhat.com> (message from Elena Zannoni on Tue, 10 Dec 2002 00:00:47 -0500)

> 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.


  parent reply	other threads:[~2002-12-10 20:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-25 20:27 Jim Blandy
2002-11-25 22:34 ` Eli Zaretskii
2002-12-09 19:55   ` Jim Blandy
2002-12-10 12:19     ` Eli Zaretskii
2002-12-09 22:13 ` Elena Zannoni
2002-12-10  8:13   ` Andrew Cagney
2002-12-10  9:14     ` Elena Zannoni
2002-12-10 11:39       ` Andrew Cagney
2002-12-10 12:43   ` Eli Zaretskii [this message]
2002-12-14 16:48   ` Jim Blandy
2002-12-23  1:25 ` Jim Blandy
2002-12-23  1:58 ` [repost] " Jim Blandy
2002-12-23  6:59   ` Eli Zaretskii
2003-01-23 23:04   ` Jim Blandy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2950-Tue10Dec2002223056+0200-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox