Package Details: mingw-w64-gdb 14.2-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-gdb.git (read-only, click to copy)
Package Base: mingw-w64-gdb
Description: The GNU Debugger (mingw-w64)
Upstream URL: http://www.gnu.org/software/gdb/
Licenses: LGPL
Submitter: Tybo
Maintainer: xantares
Last Packager: xantares
Votes: 12
Popularity: 0.154544
First Submitted: 2015-08-13 06:28 (UTC)
Last Updated: 2024-03-04 17:31 (UTC)

Latest Comments

1 2 Next › Last »

xantares commented on 2023-04-22 07:47 (UTC)

error is gone in new version

PotatoChronicler commented on 2023-04-21 07:41 (UTC)

Fails to build for me with an error in source

../../gdb/completer.c: In function ‘char* gdb_completion_word_break_characters_throw()’:
../../gdb/completer.c:2014:10: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
 2014 |   return rl_completer_word_break_characters;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          |
      |          const char*
  CXX    d-lang.o
make[2]: *** [Makefile:1655: completer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/makepkg/mingw-w64-gdb/src/gdb-12.1/build-i686-w64-mingw32/gdb'
make[1]: *** [Makefile:11823: all-gdb] Error 2
make[1]: Leaving directory '/tmp/makepkg/mingw-w64-gdb/src/gdb-12.1/build-i686-w64-mingw32'
make: *** [Makefile:1013: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

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

Eventhough

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

xan.

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).