Download Latest Version lazarus-4.2-0.zip (100.3 MB)
Email in envelope

Get an email when there's a new version of Lazarus

Home / Lazarus Windows 32 bits / Alternative GDB
Name Modified Size InfoDownloads / Week
Parent folder
GDB 9.2 - Modified for unicode 2021-05-28
GDB 9.2 (cygwin) 2021-03-28
GDB 7.3.50 2020-07-15
GDB 8.2 2018-11-01
GDB 7.2.1 2015-12-09
GDB 7.7.1 2015-12-08
README.md 2021-05-28 2.2 kB
Totals: 7 Items   2.2 kB 2

This folder contains alternative GDB versions for the use with Lazarus for windows 32 bit.

Please download and install Lazarus from one of the other folders in the "Lazarus Windows 32 bit" directory.
The Lazarus installers include a version of GDB.

  • 32 bit Lazarus 1.0 and earlier releases include different version of GDB.
  • All 32 bit Lazarus 1.2 releases include GDB 7.2.1
  • All 32 bit Lazarus 1.4 releases include GDB 7.2.1
  • All 32 bit Lazarus 1.6 releases include GDB 7.7.1

If you have troubles debugging, then please read http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

If the included GDB does not work well for you, then you may try to replace it with a different version.

Environment and Unicode

All information given as is, with no gurantee for its correctness.

Cygwin builds GDB .2

When used with Lazarus 2.2 (and up) they provide full Unicode support for environment variables.

With older Lazarus versions Environment and Commandline params containing any char outside the #$20..#$7F range may result in wrong values.

Modified GDB 9.2

This is specially modified build. Wh that supports When used with Lazarus 2.2 (and up) it provide full Unicode support for environment variables.

With older Lazarus versions Environment and Commandline params containing any char outside the #$20..#$7F range may result in wrong values.

Other GDB versions

Other GDB had no special support for unicode (env + args). The exact behaviour is not documented.

Using 32bit GDB for cross-debugging 32bit projects from a 64bit Lazarus IDE

In order for cross-bitness debugging to work from 64bit to 32bit you need to install LazGDeBugControl.exe in the same directory as your gdb.exe This is true for all versions of gdb. (Not tested: This may not be needed for gdb 10.1 and up.)

You can build LazGDeBugControl.exe from the sources included in your Lazarus installation or download it from https://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb/bin/

Links

If you have troubles debugging, then please read http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

Source: README.md, updated 2021-05-28