www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/07/06:54:56

Date: Tue, 7 Jul 1998 13:54:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: lqian AT uiuc DOT edu
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP, \ and /
In-Reply-To: <slrn6q1t70.87l.lqian@regulus.csl.uiuc.edu>
Message-ID: <Pine.SUN.3.91.980707135434.1727D-100000@is>
MIME-Version: 1.0

On 6 Jul 1998, Leiming Qian wrote:

> gdb H:\code\test.exe won't work, while
> 
> gdb H:/code/test.exe would.

It's a bug in the ported GDB.  You must realize that supporting
DOS-style backslashes in file names doesn't come for free: to make it
work, the person who does the port needs to add code to the original
source, since GNU programs generally have the '/' character hardwired
all over their sources.

> Are there any options in Djgpp which can force those programs to recognize \
> notation?

The problem is with GDB itself, not with DJGPP in general.

Since the GDB sources are available, you could just download them,
find the place where the argv[] array is processed, correct the bug
and rebuild GDB.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019