Package Details: mingw-w64-gdb 8.3.1-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-gdb.git (read-only)
Package Base: mingw-w64-gdb
Description: The GNU Debugger (mingw-w64)
Upstream URL: http://www.gnu.org/software/gdb/
Licenses: LGPL
Submitter: Tybo
Maintainer: Tybo
Last Packager: Tybo
Votes: 9
Popularity: 0.099040
First Submitted: 2015-08-13 06:28
Last Updated: 2019-09-28 16:14

Latest Comments

grandchild commented on 2019-09-13 12:14

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

@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

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

Done! :)

chungy commented on 2016-08-13 06:55

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.