Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2018-11-01 | 3.2 kB | |
gdb.exe | 2018-11-01 | 7.8 MB | |
gdbserver.exe | 2018-11-01 | 459.8 kB | |
COPYING.gdb | 2018-11-01 | 35.8 kB | |
Totals: 4 Items | 8.2 MB | 0 |
This folder contains GDB version 8.2 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 older GDB.
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 this version has not been tested and may introduce other issues. Some may be listed here: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Bugs_in_GDB
If you wish to use/test GDB 8.2 you should be aware of the above differences/issues.
To use GDB 8.2 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 linked with other libraries included (or redistributed by) in the mingw64 and msys64 distribution and libexpat. See those project for copyright and licenses.
The source for this build of gdb can be downloaded using GIT
git clone git://sourceware.org/git/binutils-gdb.git TAGETDIR
cd TAGETDIR
git checkout gdb-8.2-release
Other downloads, including archives can be found at http://www.gnu.org/software/gdb/download/
To build the exe a full install of mingw64 and msys64 is needed.
make distclean
./configure --enable-static=yes --disable-gprof --with-expat --with-libexpat-prefix="path to expat install" --target=x86_64-w32-mingw32 --host=x86_64-w32-mingw32 --build=x86_64-w32-mingw32
make LDFLAGS=-static
strip gdb.exe
strip gdbserver.exe