Re: [fpc-pascal] Compiler debug build

2017-07-22 Thread denisgolovan
Thanks.That's exactly what I need.22.07.2017, 20:20, "Maciej Izak" :2017-07-22 19:05 GMT+02:00 denisgolovan :So the question is why it's so difficult to build fpc compiler/rtl in debug mode? Is it possible to fix? Or maybe I miss some official way?You don't need to edit Make

Re: [fpc-pascal] FPCUnit/DUnit: How abort all other tests?

2017-07-22 Thread Graeme Geldenhuys
On 2017-07-22 21:50, Marcos Douglas B. Santos wrote: I would like to know if there is a way to abort all other test and an specific one fail. I mean, if some "special tests" fail, will be a waste of time to continue. There is such functionality in FPTest (the DUnit2 fork for Free Pascal). Take

Re: [fpc-pascal] FPCUnit/DUnit: How abort all other tests?

2017-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2017, Marcos Douglas B. Santos wrote: Hi, I'm using FPCUnit and DUnit to test code. I would like to know if there is a way to abort all other test and an specific one fail. I mean, if some "special tests" fail, will be a waste of time to continue. No, there currently is not.

[fpc-pascal] FPCUnit/DUnit: How abort all other tests?

2017-07-22 Thread Marcos Douglas B. Santos
Hi, I'm using FPCUnit and DUnit to test code. I would like to know if there is a way to abort all other test and an specific one fail. I mean, if some "special tests" fail, will be a waste of time to continue. Best regards, Marcos Douglas ___ fpc-pascal

Re: [fpc-pascal] Compiler debug build

2017-07-22 Thread Maciej Izak
2017-07-22 19:05 GMT+02:00 denisgolovan : > So the question is why it's so difficult to build fpc compiler/rtl in > debug mode? > Is it possible to fix? Or maybe I miss some official way? > You don't need to edit Makefile.fpc. When I need debug info for rtl and packages I use this: make clean al

[fpc-pascal] Compiler debug build

2017-07-22 Thread denisgolovan
Hi all Currently I am debugging a nasty shared memory bug. More specifically it's related to memory allocator, though not directly. More to the point - lack of backtraces is really tough - Lazarus debugger just shows one level. Upon some investigation I managed to get much more meaningful backt

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-22 Thread Anthony Walter
Michael, no I don't. I use https://github.com/sysrpl/Bare.Game/blob/master/source/bare.interop.sdl2.pas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] backtrace code in fpc

2017-07-22 Thread Matias Vara
Hello Florian, 2017-07-22 13:49 GMT+01:00 Florian Klämpfl : > Am 22.07.2017 um 14:47 schrieb Matias Vara: > > Hello, > > > > I am not sure why my executable does not contains a .debug_aranges > section. It contains .debug_line > > and .debug_info. Am I missing some linker flags? > > > > Maybe not

Re: [fpc-pascal] backtrace code in fpc

2017-07-22 Thread Florian Klämpfl
Am 22.07.2017 um 14:47 schrieb Matias Vara: > Hello, > > I am not sure why my executable does not contains a .debug_aranges section. > It contains .debug_line > and .debug_info. Am I missing some linker flags? > Maybe not included by the linker script?

Re: [fpc-pascal] backtrace code in fpc

2017-07-22 Thread Matias Vara
Hello, I am not sure why my executable does not contains a .debug_aranges section. It contains .debug_line and .debug_info. Am I missing some linker flags? Thanks, Matias. 2017-07-19 0:05 GMT+01:00 Matias Vara : > Hello Charlie and thanks for the comments. I ended up by implementing my > own In

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-22 Thread Michael Schnell
On 19.07.2017 18:58, Karoly Balogh (Charlie/SGR) wrote: You are free to implement Semaphore-alike behavior using CriticalSections for example, which are implemented on all platforms which support Threading in the FPC RTL. CriticalSection is the windows-name for Futex, and in Windows (10) the

Re: [fpc-pascal] Semaphores removed from the rtl?

2017-07-22 Thread Michael Schnell
On 19.07.2017 18:29, Anthony Walter wrote: As a note to this, I am using semaphores quite a bit in SDL2 ... Do you use Jedi-SDL to combine fpc and SDL ? -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or