Discussion:
[fpc-pascal] "No debugger support" in FPC3.0.4 for DOS (go32v2)
k***@smd-electronics.de
2018-09-16 16:56:41 UTC
Permalink
I downloaded "dos304full" and did the install. But trying to debug results
in "No debugger support available"
I looked into the sourcecode of the IDE and discovert that the IDE included
in the downloaded DOS304FULL.zip must have been compiled with "NODEBUG" set
Why is this beeing done?

best regards
hs40470


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com

_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.
Sven Barth via fpc-pascal
2018-09-17 09:06:22 UTC
Permalink
Post by k***@smd-electronics.de
I downloaded "dos304full" and did the install. But trying to debug results
in "No debugger support available"
I looked into the sourcecode of the IDE and discovert that the IDE included
in the downloaded DOS304FULL.zip must have been compiled with "NODEBUG" set
Why is this beeing done?
Probably because there's no libgdb available for that target and thus the
debugging functionality of the IDE can't be enabled (and the I/O based
interface of GDB can't be used on DOS due to the single process nature of
the OS).

Regards,
Sven
Pierre Muller
2018-09-17 09:25:20 UTC
Permalink
Post by k***@smd-electronics.de
I downloaded "dos304full" and did the install. But trying to debug results
in "No debugger support available"
I looked into the sourcecode of the IDE and discovert that the IDE included
in the downloaded DOS304FULL.zip must have been compiled with "NODEBUG" set
Why is this beeing done?
Probably because there's no libgdb available for that target and thus the debugging functionality of the IDE can't be enabled (and the I/O based interface of GDB can't be used on DOS due to the single process nature of the OS). 
Hi,

the reasons are that we lack man-power and testers...

I started trying to build Free Pascal IDE for go32v2 with GDB support
on the request of an old member of the community,
but we never finished the testing phase :-(

Ifd you are willing to test, you can try to download this file:

ftp://ftp.freepascal.org/pub/fpc/contrib/go32v2/go32v2-ide-with-gdb.zip

It contains three flavors of the IDE:

unzip -v go32v2-ide-with-gdb.zip
Archive: go32v2-ide-with-gdb.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
55975662 Defl:N 16657007 70% 2018-01-05 18:08 a8dcef75 fpnovesa.exe
56164853 Defl:N 16726918 70% 2018-01-05 18:11 386c20ab fpvesa.exe
56256955 Defl:N 16749291 70% 2018-01-08 11:52 8fc186a4 fpvesag.exe
-------- ------- --- -------
168397470 50133216 70% 3 files

The first one: fpnovesa.exe
is supposed to be usable on Windows 32-bit, even in remote sessions

The second will only work locally on a Windows 32-bit OS

The third, fpvesag.exe has a graphic/text switching upon GDB stops
that allows debugging graphic executable.


If you are able to test, please report here
what work and what does not work!

Thanks in advance,

Pierre Muller

_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
http://
Lubomír Čabla
2018-09-30 19:44:36 UTC
Permalink
I tested go32v2-ide-with-gdb.zip: IDE 1.0.12, GDB 7.3, FPC 3.0.4.

1. Windows 7/32-bit

fpnovesa.exe - OK
fpvesa.exe - exit with "System does not support fullscreen mode"
fpvesag.exe - exit with "System does not support fullscreen mode"

Tested on NB/PC with max. 2K (1920/1080) monitors.

2. real W98/DOS

fpnovesa.exe - OK
fpvesa.exe - OK
fpvesag.exe - OK

Tested on NB/PC with max. 2K (1920/1080) monitors.

3. Another problem is with the Intel i7-6700 Skylake 3.40 GHz and VGA Intel
Graphics 530
with 4K monitor 3840x2160.

I can not test it in Windows I have 64-bit versions only.

But in real W98/DOS it looks completely different:

fpnovesa.exe - started, but on exit I see only the cursor, program hangs
fpvesa.exe - the program does not start, it stops
fpvesag.exe - the program does not start, it stops

In any case, a restart is required.

But BP 7 or Norton Commander I can run without problems!

Distributed version FP.EXE/GO32V2 3.0.4 on the same computer in DOS also
just hangs,
with or without parameter NOVESA.

I hope it will help.

Lubomir Cabla
Post by k***@smd-electronics.de
Post by k***@smd-electronics.de
I downloaded "dos304full" and did the install. But trying to debug
results
Post by k***@smd-electronics.de
in "No debugger support available"
I looked into the sourcecode of the IDE and discovert that the IDE
included
Post by k***@smd-electronics.de
in the downloaded DOS304FULL.zip must have been compiled with
"NODEBUG" set
Post by k***@smd-electronics.de
Why is this beeing done?
Probably because there's no libgdb available for that target and thus
the debugging functionality of the IDE can't be enabled (and the I/O based
interface of GDB can't be used on DOS due to the single process nature of
the OS).
Hi,
the reasons are that we lack man-power and testers...
I started trying to build Free Pascal IDE for go32v2 with GDB support
on the request of an old member of the community,
but we never finished the testing phase :-(
ftp://ftp.freepascal.org/pub/fpc/contrib/go32v2/go32v2-ide-with-gdb.zip
unzip -v go32v2-ide-with-gdb.zip
Archive: go32v2-ide-with-gdb.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
55975662 Defl:N 16657007 70% 2018-01-05 18:08 a8dcef75 fpnovesa.exe
56164853 Defl:N 16726918 70% 2018-01-05 18:11 386c20ab fpvesa.exe
56256955 Defl:N 16749291 70% 2018-01-08 11:52 8fc186a4 fpvesag.exe
-------- ------- --- -------
168397470 50133216 70% 3 files
The first one: fpnovesa.exe
is supposed to be usable on Windows 32-bit, even in remote sessions
The second will only work locally on a Windows 32-bit OS
The third, fpvesag.exe has a graphic/text switching upon GDB stops
that allows debugging graphic executable.
If you are able to test, please report here
what work and what does not work!
Thanks in advance,
Pierre Muller
_______________________________________________
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Loading...