Install gdb-mingw-w64 by entering the following commands in the terminal:
sudo apt update sudo apt install gdb-mingw-w64
Description:
Cross-debugger for Win32 and Win64 using MinGW-w64
MinGW-w64 provides a development and runtime environment for 32- and 64-bit Windows applications using the GNU Compiler Collection (gcc). . This package contains the gdb debugger which can be used with a Windows-hosted gdbserver to debug programs running on Windows hosts. . The gdb-mingw-w64-target package contains gdbserver and gdbreplay for 32- and 64-bit Windows. . The non-free gdb-doc package contains the manual pages for gdb.
Homepage: http://www.gnu.org/software/gdb/
Version: 8.0.1-0ubuntu3+10.5
Section: universe/devel