I found the cause of the ugly behavior See
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision <http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=27281> &revision=27281 Its astonishing this was not found before I suspect this is mainly due to the fact that most of the time djgpp_last_ctor contained a NIL pointer, but this was just a coincidence. Hopefully, with that fix include, I will be able to generate a functional IDE I will send a new message after I update the fpgdb.zip file. Pierre Muller De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Pierre Free Pascal Envoyé : lundi 24 mars 2014 23:36 À : 'FPC-Pascal users discussions' Objet : Re: [fpc-pascal] FPC 2.6.4 for GO32 I was able to reproduce your problem, but not to fix it yet I hope I will find a fast fix. Sorry for the trouble, Pierre Muller De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Lubomír Cabla Envoyé : lundi 24 mars 2014 15:54 À : FPC-Pascal users discussions Objet : Re: [fpc-pascal] FPC 2.6.4 for GO32 No need to apologize, thank you and Tomas Hajny for your help. I made a fresh installation of FPC GO32V2 2.6.4 in pure DOS from Win98 SE/FAT32 with DOSLFN. (BTW, in package dos264full.zip is missing cwsdpmi.exe) For testing FP.EXE with GDB is used small test program: var x : word; begin x:=1; writeln('x=',x); end. 1. Compilation of test program Options - Compiler - Browser No browser - O.K. Only Global browser - error Local and global browser - error Only for selected option "No browser" is compilation O.K., otherwise I always get this error: z-test.pas(5,1) Fatal: Compilation aborted Error: Compiler exited Error: Range check error and then "No debugger support available" With selected option "No browser" is GDB available and it seems to be O.K. 2. Run new FP.EXE After first compilation at every start of new FP.EXE I get an error in Compiler messages: hugevall.c(0) Fatal: $009E53FB of hugevall.c Fatal: $000020B5 I made some screenshots if you want to see. Thank you for your support. Lubomir Cabla On Mon, Mar 24, 2014 at 10:00 AM, Pierre Free Pascal <pie...@freepascal.org> wrote: Sorry for the late reply. This is indeed a packaging error. I managed to build a IDE containing GDB 7.4 library. Nevertheless, before changing the idedos.zip in dist/2.6.4/i386-go32v2/separate/ and the content of the files at dist/2.6.4/i386-go32v2/ level. I would like you, if possible to test this executable out and report if debugging is really functional (ideally on a true dos machine ) I was only able to test the resulting executable under windows XP. I uploaded the new binary as a compressed zip file named fpgdb.zip in dist/2.6.4/i386-go32v2/separate/. Note that this is a huge file (9Mb zipped, and 28Mb unzipped, which contains full debugging information of fp.exe itself, including for the libgdb.a library). It would be most helpful if you (or someone else) could test this IDE on bare Dos and report if debugging is functional. If this is the case, I will modify idedos.zip and the big zip files in dist/2.6.4/i386-go32v2/ directory. Thanks in advance and sorry for the error. Pierre Muller De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Lubomír Cabla Envoyé : lundi 17 mars 2014 20:54 À : FPC-Pascal users discussions Objet : [fpc-pascal] FPC 2.6.4 for GO32 Maybe I'm doing something wrong but in the IDE from FPC 2.6.4 for GO32 is GDB missing. Always I get "No debugger support available". Thank you for your help. Lubomir Cabla _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal