diff --git a/mingw-w64-gdb/PKGBUILD b/mingw-w64-gdb/PKGBUILD index f9618e2671..0c85cd4217 100644 --- a/mingw-w64-gdb/PKGBUILD +++ b/mingw-w64-gdb/PKGBUILD @@ -5,8 +5,8 @@ _realname=gdb _mingw_suff=mingw-w64-${CARCH} _gcc_ver=4.9.0 pkgname=("${_mingw_suff}-${_realname}") -pkgver=7.7 -pkgrel=6 +pkgver=7.7.1 +pkgrel=1 pkgdesc="GNU Debugger (mingw-w64)" arch=('any') url="http://www.gnu.org/software/gdb/" @@ -20,20 +20,19 @@ depends=("${_mingw_suff}-libiconv" checkdepends=('dejagnu' 'bc') makedepends=("${_mingw_suff}-libiconv" "${_mingw_suff}-zlib" "${_mingw_suff}-ncurses" "${_mingw_suff}-xz") options=('staticlibs' '!distcc' '!ccache') -source=("ftp://mirrors.kernel.org/sources.redhat.com/gdb/releases/gdb-${pkgver}.tar.bz2" - 'gdbinit' - 'gdb-fix-display-tabs-on-mingw.patch' - 'gdb-mingw-gcc-4.7.patch' - 'gdb-perfomance.patch' - 'gdb-fix-python-stack-corruption.patch' - 'gdb-fix-using-gnu-print.patch' - '020-add-bigobj-format.patch') -md5sums=('271a18f41858a7e98b28ae4eb91287c9' +source=(http://ftp.gnu.org/gnu/gdb/gdb-${pkgver}.tar.bz2{,.sig} + 'gdbinit' + 'gdb-fix-display-tabs-on-mingw.patch' + 'gdb-mingw-gcc-4.7.patch' + 'gdb-perfomance.patch' + 'gdb-fix-using-gnu-print.patch' + '020-add-bigobj-format.patch') +md5sums=('77b20b515e7c25f032cb9732a66620fe' + 'SKIP' 'dec2439447cb1accf037457b459093f7' 'e48292d553379a9765c82e80e618ffd2' '7cc5df72d958ef3e4b1ffa9f7b069e6f' 'e9b7c252fedfa950998f5f3b32536461' - '3e8c305a3855f01b1ebfd608f2378ffe' 'd7112b220466a294aa266bb4d5c06a59' '9b596cfe3a448dc5823370173349d88b') @@ -47,7 +46,6 @@ prepare() { # http://sourceware.org/bugzilla/show_bug.cgi?id=15412 patch -p1 -i ${srcdir}/gdb-perfomance.patch - patch -p1 -i ${srcdir}/gdb-fix-python-stack-corruption.patch patch -p1 -i ${srcdir}/gdb-fix-using-gnu-print.patch patch -p1 -i ${srcdir}/020-add-bigobj-format.patch @@ -97,5 +95,4 @@ package() { rm -f ${pkgdir}${MINGW_PREFIX}/include/*.h rm -f ${pkgdir}${MINGW_PREFIX}/lib/*.a - } diff --git a/mingw-w64-gdb/gdb-fix-python-stack-corruption.patch b/mingw-w64-gdb/gdb-fix-python-stack-corruption.patch deleted file mode 100644 index 88d50667df..0000000000 --- a/mingw-w64-gdb/gdb-fix-python-stack-corruption.patch +++ /dev/null @@ -1,59 +0,0 @@ -From e661fce02d46838124aa94618c4b87b59d922ab3 Mon Sep 17 00:00:00 2001 -From: Jan Kratochvil -Date: Sun, 9 Feb 2014 18:47:40 +0100 -Subject: [PATCH] Fix Python stack corruption - -The fix is obvious. - -gdb/ -2014-02-09 Jan Kratochvil - - Fix Python stack corruption. - * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use - gdb_py_longest. - -Message-ID: <20140207171701.GA25187@host2.jankratochvil.net> ---- - gdb/ChangeLog | 6 ++++++ - gdb/python/py-linetable.c | 4 ++-- - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/gdb/ChangeLog b/gdb/ChangeLog -index 31e1d89..5f840aa 100644 ---- a/gdb/ChangeLog -+++ b/gdb/ChangeLog -@@ -1,3 +1,9 @@ -+2014-02-09 Jan Kratochvil -+ -+ Fix Python stack corruption. -+ * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use -+ gdb_py_longest. -+ - 2014-02-06 Joel Brobecker - - * version.in: Set GDB version number to 7.7.0.DATE-cvs. -diff --git a/gdb/python/py-linetable.c b/gdb/python/py-linetable.c -index e83d46d..8b5362b 100644 ---- a/gdb/python/py-linetable.c -+++ b/gdb/python/py-linetable.c -@@ -168,7 +168,7 @@ static PyObject * - ltpy_get_pcs_for_line (PyObject *self, PyObject *args) - { - struct symtab *symtab; -- int py_line; -+ gdb_py_longest py_line; - struct linetable_entry *best_entry = NULL; - linetable_entry_object *result; - VEC (CORE_ADDR) *pcs = NULL; -@@ -200,7 +200,7 @@ static PyObject * - ltpy_has_line (PyObject *self, PyObject *args) - { - struct symtab *symtab; -- int py_line; -+ gdb_py_longest py_line; - int index; - - LTPY_REQUIRE_VALID (self, symtab); --- -1.8.5.5 -