Name Modified Size InfoDownloads / Week
Parent folder
gdb_77.exe 2016-04-18 5.5 MB
gdbserver_77.exe 2016-04-18 311.6 kB
COPYING.gdb 2016-04-18 35.8 kB
README.md 2016-04-18 3.1 kB
Totals: 4 Items   5.9 MB 0

This folder contains GDB version 7.7 for windows 64 bit.

This is an ADD-ON.


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

  • All 64 bit Lazarus 1.4 releases include GDB 7.3.50
  • All 64 bit Lazarus 1.6 releases include GDB 7.3.50

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

It is recommended to use the GDB version that comes with the Lazarus installer.
But if the included GDB does not work well for you, then you may try to replace it.
This GDB can only be used with the 64bit Windows version of Lazarus.


This version of GDB may fix some issues that may be encountered with the GDB 7.3.50.

There is currently no list of known issues fixed by this version, but it is likely to have better support for newer versions of Windows.

However GDB 7.7 introduces

  • https://sourceware.org/bugzilla/show_bug.cgi?id=16016
    • records may be displayed as class
    • pointer to record may be dereferenced without warning (hiding the fact that a value is a pointer)
    • shortstrings may not display at all (they are internally encoded as record)
  • https://sourceware.org/bugzilla/show_bug.cgi?id=17835 (affects only Lazarus 1.3 and before)
    • Object variables (Members) of the current methods class (self.xxx) can not be watched/inspected
      To work around use upper case or prefix with self. (Lazarus 1.4 and up to this for you)
  • It also appears to have issues with stabs (at least when used with fpc before 3.0. It is recommended to use dwarf (for project and all packages) when using this gdb.

If you wish to use/test GDB 7.7 you should be aware of the above differences/issues.

To use GDB 7.7 download the exe, place it in your Lazarus installation (e.g. the in the folder C:\lazarus\mingw\x86_64-win64\bin\ ) and change the path to gdb in the Options dialog (Menu Tools).


From the gdb source files:

Copyright (C) 2002-2015 Free Software Foundation, Inc.

This file is part of GDB.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/

See the file "copying.gdb" for details. Or download the sources as specified below and read the included copyright notes. More can be found at http://www.gnu.org/software/gdb/

This gdb is part of https://sourceforge.net/projects/mingw-w64-dgn

Source: README.md, updated 2016-04-18