Mail Archives: djgpp/1998/07/07/06:54:56
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 -