Package Details: mingw-w64-gdb 10.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: 8
Popularity: 0.000005
First Submitted: 2015-08-13 06:28
Last Updated: 2020-11-11 17:07

Latest Comments

Tybo commented on 2019-12-24 11:28

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

xantares commented on 2019-11-29 18:41

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

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.