Re: [fpc-devel] FPC 2.5.1. rev. 16318 Segmentation fault

2010-11-09 Thread Martin
On 09/11/2010 17:15, Dimitrios Chr. Ioannidis wrote: Hi all, tried to update my tools. Building FPC from sources all went fine. Building Lazarus the same. But when i tried to run Lazarus i got : Starting program: C:\Programming\Compiler\lazarus/startlazarus.exe [New thread 1656.0x15d8] Pro

[fpc-devel] FPC 2.5.1. rev. 16318 Segmentation fault

2010-11-09 Thread Dimitrios Chr. Ioannidis
Hi all, tried to update my tools. Building FPC from sources all went fine. Building Lazarus the same. But when i tried to run Lazarus i got : Starting program: C:\Programming\Compiler\lazarus/startlazarus.exe [New thread 1656.0x15d8] Program received signal SIGSEGV, Segmentation fault. fpc_

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Sven Barth
Am 09.11.2010 13:54, schrieb Martin: On 09/11/2010 12:51, Martin wrote: On 09/11/2010 12:47, Sven Barth wrote: Am 09.11.2010 11:25, schrieb Martin: -- I have added some notes to the bug I'll try to test your fix when I find the time (and remember it ^^). It's not a fix =>

Re: [fpc-devel] Question regarding FileSetDate implementation

2010-11-09 Thread Sven Barth
Am 09.11.2010 10:54, schrieb Sergei Gorelkin: Sergei Gorelkin пишет: According to Delphi documentation, it should return zero on success, non-zero error code otherwise. Windows handle-based implementation conforms to that. The proper fix would be returning value of GetLastOSError, but it may be

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Martin
On 09/11/2010 12:47, Sven Barth wrote: Am 09.11.2010 11:25, schrieb Martin: -- I have added some notes to the bug I'll try to test your fix when I find the time (and remember it ^^). It's not a fix => it's added debug info, to see if I can fix it

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Martin
On 09/11/2010 12:51, Martin wrote: On 09/11/2010 12:47, Sven Barth wrote: Am 09.11.2010 11:25, schrieb Martin: -- I have added some notes to the bug I'll try to test your fix when I find the time (and remember it ^^). It's not a fix => it's added debug info, to see if I can

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Sven Barth
Am 09.11.2010 14:20, schrieb Sven Barth: Am 09.11.2010 13:54, schrieb Martin: On 09/11/2010 12:51, Martin wrote: On 09/11/2010 12:47, Sven Barth wrote: Am 09.11.2010 11:25, schrieb Martin: -- I have added some notes to the bug I'll try to test your fix when I find the time

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Sven Barth
Am 09.11.2010 11:25, schrieb Martin: On 09/11/2010 08:45, Sven Barth wrote: Am 09.11.2010 00:08, schrieb Marc Weustink: :) On windows I create a remote thread to be able to pause execution to enable breakpoints and such while the program is running. See initialisation part of the gdbmi debugge

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Martin
On 09/11/2010 08:45, Sven Barth wrote: Am 09.11.2010 00:08, schrieb Marc Weustink: :) On windows I create a remote thread to be able to pause execution to enable breakpoints and such while the program is running. See initialisation part of the gdbmi debugger. There I use a few options to pause

Re: [fpc-devel] Question regarding FileSetDate implementation

2010-11-09 Thread Sergei Gorelkin
Sergei Gorelkin пишет: According to Delphi documentation, it should return zero on success, non-zero error code otherwise. Windows handle-based implementation conforms to that. The proper fix would be returning value of GetLastOSError, but it may be not available for all platforms. Fixed in

Re: [fpc-devel] Question regarding FileSetDate implementation

2010-11-09 Thread Sergei Gorelkin
Sven Barth пишет: Hello together! As you might have noticed, I'm working on the NativeNT RTL again and discover some nice FPC_HAS_FEATURE_* and THandle problems on the way. Now I've found another one and I'd like to know how this should be fixed: FileSetDate in SysUtils (the filename variant

[fpc-devel] Question regarding FileSetDate implementation

2010-11-09 Thread Sven Barth
Hello together! As you might have noticed, I'm working on the NativeNT RTL again and discover some nice FPC_HAS_FEATURE_* and THandle problems on the way. Now I've found another one and I'd like to know how this should be fixed: FileSetDate in SysUtils (the filename variant) returns a LongInt

Re: [fpc-devel] Re: [Lazarusdev] gdb driving me nuts => it's starting a 2nd thread for no apparent reason....

2010-11-09 Thread Sven Barth
Am 09.11.2010 00:08, schrieb Marc Weustink: :) On windows I create a remote thread to be able to pause execution to enable breakpoints and such while the program is running. See initialisation part of the gdbmi debugger. There I use a few options to pause execution. On the NT platform the remote