Package Details: mingw-w64-gdb 12.1-1

Git Clone URL: (read-only, click to copy)
Package Base: mingw-w64-gdb
Description: The GNU Debugger (mingw-w64)
Upstream URL:
Licenses: LGPL
Submitter: Tybo
Maintainer: xantares
Last Packager: xantares
Votes: 10
Popularity: 0.002121
First Submitted: 2015-08-13 06:28 (UTC)
Last Updated: 2022-07-22 15:56 (UTC)

Latest Comments

xantares commented on 2022-07-22 15:35 (UTC)

indeed it lacks gmp/mpfr

RealGecko commented on 2022-07-22 09:54 (UTC) (edited on 2022-07-22 09:57 (UTC) by RealGecko)

 configure: error: GMP is missing or unusable


realgecko@rog-strix ~/D/a/mingw-w64-gdb> pacman -Ss gmp | grep installed
core/gmp 6.2.1-2 [installed]
multilib/lib32-gmp 6.2.1-1 [installed]
realgecko@rog-strix ~/D/a/mingw-w64-gdb>

XobQuit commented on 2022-01-27 22:21 (UTC)

Hello. Seems like 'mingw-w64-gmp' is now required for build.

Tybo commented on 2019-12-24 11:28 (UTC)

Hello, Sorry for the delay. The package is now orphaned, you can take it over. Cheers

xantares commented on 2019-11-29 18:41 (UTC)

hello, it wont build anymore due to stack protection flags

can you use mingw-w64-configure to fix the build ?

else just orphan the package i'll update


grandchild commented on 2019-09-13 12:14 (UTC) (edited on 2019-09-13 12:14 (UTC) by grandchild)

Note that when selecting a provider for mingw-w64-readline's dependency mingw-w64-pdcurses you need to select mingw-w64-pdcurses-win32a instead of mingw-w64-pdcurses.

This is because gdb/gdb_curses.h checks for various curses versions, but not pdcurses.h or pdcurses/curses.h. This means that you get an error like this:

In file included from ../../gdb/tui/tui.c:26:
../../gdb/tui/tui-data.h:42:3: error: ‘WINDOW’ does not name a type
   42 |   WINDOW *handle;     /* Window handle.  */
      |   ^~~~~~

I would argue (since some curses-version is required by code in gdb itself) this package should depend explicitly (not just transiently) on mingw-w64-pdcurses, and should probably for simplicity directly depend on mingw-w64-pdcurses-win32a (or possibly mingw-w64-ncurses, but I haven't checked that that works, though it should).

If you did get this error, you have to do a clean build, because configure caches the checks for {n,}curses{w,}.h.

chungy commented on 2017-01-17 17:56 (UTC)

@bwrsandman: Yes, but you should use wineconsole to run it in an emulated Windows-style (really, DOS-style) terminal instead. GDB does some things that don't really translate into a normal VT220-style terminal. Also, because of dependencies, you should have /usr/i686-w64-mingw32/bin in the PATH, try to make sure to do something like "WINEPATH=/usr/i686-w64-mingw32/bin wineconsole gdb ..."

bwrsandman commented on 2016-12-25 21:14 (UTC) (edited on 2016-12-25 21:15 (UTC) by bwrsandman)

Has anyone had luck using gdb.exe in this package? I'm running it with `wine /usr/i686-w64-mingw32/bin/gdb.exe test.exe` and the console pops up normally but it doesn't seem to detect new lines to run commands (when I press enter).

Tybo commented on 2016-08-17 19:28 (UTC)

Done! :)

chungy commented on 2016-08-13 06:55 (UTC)

Can you shift the runtime dependencies (expat, zlib, readline) to the depends array instead of just makedepends? Will help prevent them from being uninstalled if I remove all unused-installed-as-dependencies packages. Thanks.