[fpc-pascal] FPC 2.6.4 for GO32
Lubomír Čabla
kladno at gmail.com
Wed Mar 26 21:05:04 CET 2014
First the good news:
this new release of FP.EXE has removed previous errors
and it seems that GDB works. Thank you for your work.
Now the bad news:
1.
When I press "ALT+0" to get window list I get this error
regardless if a file(s) are opened or not:
Runtime error 219 at $00004868
$00004868 FPC_CHECK_OBJECT_EXT, line 853 of
e:/fpc264/fpcsrc/rtl/inc/generic.inc
$000A614C TWINDOWLISTBOX__GETTEXT, line 81 of fpmwnd.inc
$000423B5 TLISTVIEWER__DRAW, line 3530 of src/views.pas
$0003C8DD TVIEW__DRAWVIEW, line 1433 of src/views.pas
$0003E8E0 TGROUP__DRAWSUBVIEWS, line 2162 of src/views.pas
$0003EA24 TGROUP__DRAW, line 2209 of src/views.pas
$0003C8DD TVIEW__DRAWVIEW, line 1433 of src/views.pas
$0003E8E0 TGROUP__DRAWSUBVIEWS, line 2162 of src/views.pas
$0003C82C TVIEW__DRAWUNDERRECT, line 1409 of src/views.pas
$0003C884 TVIEW__DRAWUNDERVIEW, line 1424 of src/views.pas
2.
Another problem I got with the keys Trace into (F7) and Step over (F8).
With a simple program using keys F7 and F8 works fine.
I have a project (about 200 000 lines).
When program running in IDE encounters a breakpoint program just hangs.
The same happens when I use a key F7 to trace any procedure
(whether there is a breakpoint or not).
I'm afraid that something overwrites memory because
sometimes the result is a corrupted FAT table.
When I use the "oldies but goldies" FPC 1.0.11 (IDE 0.9.2, GDB 5.2.1)
for the same project everything works well.
Lubomir Cabla
On Wed, Mar 26, 2014 at 12:04 AM, Pierre Free Pascal
<pierre at freepascal.org>wrote:
> A new fpgdb.zip is available
>
> in dist/2.6.4/i386-go32v2/separate/ directory.
>
>
>
> I added a readme.dos containing the changes
>
> made to 2.6.4 sources in order to get a "hopefully"
>
> fully functional IDE with debugger included.
>
>
>
> Please test and report,
>
>
>
> Pierre Muller
>
>
>
> *De :* fpc-pascal-bounces at lists.freepascal.org [mailto:
> fpc-pascal-bounces at lists.freepascal.org] *De la part de* Pierre Free
> Pascal
> *Envoyé :* mardi 25 mars 2014 12:26
>
> *À :* 'FPC-Pascal users discussions'
> *Objet :* Re: [fpc-pascal] FPC 2.6.4 for GO32
>
>
>
> I found the cause of the ugly behavior...
>
> See
>
> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=27281
>
>
>
> It's 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-bounces at lists.freepascal.org [
> mailto:fpc-pascal-bounces at lists.freepascal.org<fpc-pascal-bounces at 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-bounces at lists.freepascal.org [
> mailto:fpc-pascal-bounces at lists.freepascal.org<fpc-pascal-bounces at 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 <
> pierre at 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-bounces at lists.freepascal.org [mailto:
> fpc-pascal-bounces at 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 at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140326/56dc1264/attachment.html>
More information about the fpc-pascal
mailing list