gdb: update

This commit is contained in:
Mark Brand 2015-12-05 23:33:46 +01:00
parent 99af3f7256
commit 0fb74a36b7
2 changed files with 2 additions and 33 deletions

View File

@ -1,31 +0,0 @@
This file is part of MXE.
See index.html for further information.
diff --git a/gdb/windows-termcap.c b/gdb/windows-termcap.c
index caafc47..809ae6d 100644
--- a/gdb/windows-termcap.c
+++ b/gdb/windows-termcap.c
@@ -19,9 +19,16 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
#include "defs.h"
-
+#include "config.h"
+
+#if defined (HAVE_NCURSES_TERM_H)
+#elif defined (HAVE_TERM_H)
+#else
+/* On MinGW, a real termcap library is usually not present. Stub versions
+ of the termcap functions will be built from windows-termcap.c. Readline
+ provides its own extern declarations when there's no termcap.h; do the
+ same here for the termcap functions used in GDB. */
#include <stdlib.h>
/* -Wmissing-prototypes */
@@ -74,3 +81,4 @@ tgoto (const char *cap, int col, int row)
{
return NULL;
}
+#endif

View File

@ -2,8 +2,8 @@
# See index.html for further information.
PKG := gdb
$(PKG)_VERSION := 7.9.1
$(PKG)_CHECKSUM := cd9c543a411a05b2b647dd38936034b68c2b5d6f10e0d51dc168c166c973ba40
$(PKG)_VERSION := 7.10.1
$(PKG)_CHECKSUM := 25c72f3d41c7c8554d61cacbeacd5f40993276d2ccdec43279ac546e3993d6d5
$(PKG)_SUBDIR := gdb-$($(PKG)_VERSION)
$(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)