Sign in Join

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

Mailing lists / fpc-devel / 2005-04

DOS problems

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Andres K. Foerster

Hello,

I have some trouble with the graph unit on DOS.
I use the driver D16Bit, mode m640x480.

With FPC 1.9.6 I get only some few lines in the upper part of the screen, the rest stays black.

The mode worked with FPC 1.0.10 with the same hardware, so I think it's a bug in the new version.

AKFoerster

Reply by email

Florian Klaempfl
to Uberto Barbini
Uberto Barbini wrote
Hi, I'd like to understand which gdb is better to use for current fpc-cvs, the one in cvs/install/binw32 or mingw one?

If that one in cvs/install/... makes no trouble for you, use it, it is tested with fpc. If you have trouble with it => try the mingw one and report it :)

Show quoted text 7 lines
BTW what are the differences? TIA Uberto _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Uberto Barbini
to Florian Klaempfl
Florian Klaempfl wrote 8 lines
Uberto Barbini wrote: > Hi, > I'd like to understand which gdb is better to use for current fpc-cvs, > the one in cvs/install/binw32 or mingw one? If that one in cvs/install/... makes no trouble for you, use it, it is tested with fpc. If you have trouble with it => try the mingw one and report it :)

I experienced some problems with the one integrated some months ago, so I switched to mingw.
The problem is still there (today fpc and lazarus cvs): launching a program (from lazarus) with fpc gdb nothing happens after the linking, i.e. the program doesn't start. Selecting mingw (without changing anything else) gdb works.
Debugging with gdb is supposed to work exactly like with a C program? If so I can try to use it without lazarus to understand better the problem.

Bye Uberto

Reply by email

John Briggs
Uberto Barbini wrote 16 lines
On Sunday 01 May 2005 21:39, Florian Klaempfl wrote: > Uberto Barbini wrote: > > Hi, > > I'd like to understand which gdb is better to use for current fpc-cvs, > > the one in cvs/install/binw32 or mingw one? > > If that one in cvs/install/... makes no trouble for you, use it, it is > tested with fpc. If you have trouble with it => try the mingw one and > report it :) I experienced some problems with the one integrated some months ago, so I switched to mingw. The problem is still there (today fpc and lazarus cvs): launching a program (from lazarus) with fpc gdb nothing happens after the linking, i.e. the program doesn't start. Selecting mingw (without changing anything else) gdb works.

Just for the record, on Linux fpc requires libgdb.a for debugging, I do not know what it uses on MS Windows (gdb.dll?) but libgdb.a has been replaced by libgdb.ma.

Just a bit of useless info.

Regards

John

Feeling exploited, impoverished or imprisoned?? Knock down the Gates of .... and break free into the "Brave GNU World" of the "Free Software Foundation". "Squeak" with delight at pleasure this freedom brings.

Reply by email

Peter Vreman
to John Briggs
Show quoted text 27 lines
On Sun, May 01, 2005 at 11:48:42PM +0200, Uberto Barbini wrote: > On Sunday 01 May 2005 21:39, Florian Klaempfl wrote: > > Uberto Barbini wrote: > > > Hi, > > > I'd like to understand which gdb is better to use for current > fpc-cvs, > > > the one in cvs/install/binw32 or mingw one? > > > > If that one in cvs/install/... makes no trouble for you, use it, it is > > tested with fpc. If you have trouble with it => try the mingw one and > > report it :) > > I experienced some problems with the one integrated some months ago, so > I > switched to mingw. > The problem is still there (today fpc and lazarus cvs): launching a > program > (from lazarus) with fpc gdb nothing happens after the linking, i.e. the > program doesn't start. Selecting mingw (without changing anything else) > gdb > works. Just for the record, on Linux fpc requires libgdb.a for debugging, I do not know what it uses on MS Windows (gdb.dll?) but libgdb.a has been replaced by libgdb.ma.

Building the FPC Textmode IDE with integrated debugging features requires libgdb.a for all platforms. The standalone gdb.exe provided by the installer doesn't require an external library.

Reply by email