Re: [fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-29 Thread Dr. Rolf Jansen
Am 28.08.2004 um 22:26 schrieb Peter Vreman: Many thanks for the fix. Unfortunately, I discovered too late, that this enables GDB support on Mac OS X only for the main program file. In unit files it still includes the lowercase filenames into the .stabs. However, I found the problem and a possibl

Re: [fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-28 Thread Peter Vreman
> Many thanks for the fix. Unfortunately, I discovered too late, that > this enables GDB support on Mac OS X only for the main program file. In > unit files it still includes the lowercase filenames into the .stabs. > > However, I found the problem and a possible solution. In globals.pas > there ar

Re: [fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-28 Thread Dr. Rolf Jansen
Am 27.08.2004 um 22:57 schrieb Peter Vreman: At 16:43 26-8-2004, you wrote: Am 26.08.2004 um 15:45 schrieb Florian Klaempfl: Dr. Rolf Jansen wrote: ... The lowercase filename comes into the .stabs of the TestProgram due to the routine TGNUAssembler.WriteFileLineInfo of aggas.pas at line 237 of th

Re: [fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-27 Thread Peter Vreman
At 16:43 26-8-2004, you wrote: Am 26.08.2004 um 15:45 schrieb Florian Klaempfl: Dr. Rolf Jansen wrote: ... The lowercase filename comes into the .stabs of the TestProgram due to the routine TGNUAssembler.WriteFileLineInfo of aggas.pas at line 237 of the fpc compiler. If I change that line from:

Re: [fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-26 Thread Dr. Rolf Jansen
Am 26.08.2004 um 15:45 schrieb Florian Klaempfl: Dr. Rolf Jansen wrote: ... The lowercase filename comes into the .stabs of the TestProgram due to the routine TGNUAssembler.WriteFileLineInfo of aggas.pas at line 237 of the fpc compiler. If I change that line from: AsmWriteLn(#9'.stabs "'+lower

Re: [fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-26 Thread Florian Klaempfl
Dr. Rolf Jansen wrote: The following smal pascal program is stored in file named TestProgram.pas in the current working directory. program TestProgamm; var i : Integer; begin for i := 1 to 5 do writeln('Test'); end. It compiles successfully with: fpc -g TestProgram.pas An obje

[fpc-devel]Issues with GDB on Mac OS X with mixed case file names

2004-08-26 Thread Dr. Rolf Jansen
The following smal pascal program is stored in file named TestProgram.pas in the current working directory. program TestProgamm; var i : Integer; begin for i := 1 to 5 do writeln('Test'); end. It compiles successfully with: fpc -g TestProgram.pas An object file named TestProgr