Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2018-09

"No debugger support" in FPC3.0.4 for DOS (go32v2)

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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

Reply by email

Sven Barth
to Unknown author

schrieb am Mo., 17. Sep. 2018, 08:11:

Show quoted text 7 lines
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

Reply by email

Pierre Muller
to Sven Barth

Le 17/09/2018 à 11:06, Sven Barth via fpc-pascal a écrit :

Show quoted text 10 lines
< > schrieb am Mo., 17. Sep. 2018, 08:11: 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

Reply by email

Lubomír Čabla
to Pierre Muller

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

AM Pierre Muller wrote 64 lines
Le 17/09/2018 à 11:06, Sven Barth via fpc-pascal a écrit : > < > schrieb am Mo., 17. Sep. 2018, 08:11: > > 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 - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email