From b9b654d4fb6407398ff56bb7cf1b426c8ddf6c5c Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 28 Jun 2017 14:14:33 +0000 Subject: tools: Upgrade GDB to 8.0 This fixes a build failure with GCC 7: amd64-linux-nat.c:497:1: error: conflicting types for 'ps_get_thread_area' ps_get_thread_area (const struct ps_prochandle *ph, ^~~~~~~~~~~~~~~~~~ In file included from gdb_proc_service.h:25:0, from amd64-linux-nat.c:50: /usr/include/proc_service.h:72:17: note: previous declaration of 'ps_get_thread_area' was here extern ps_err_e ps_get_thread_area (struct ps_prochandle *, ^~~~~~~~~~~~~~~~~~ Makefile:1081: recipe for target 'amd64-linux-nat.o' failed make[2]: *** [amd64-linux-nat.o] Error 1 --- strata/tools.morph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strata/tools.morph b/strata/tools.morph index c17da999..b4710f6b 100644 --- a/strata/tools.morph +++ b/strata/tools.morph @@ -12,8 +12,8 @@ chunks: - name: gdb morph: strata/tools/gdb.morph repo: upstream:binutils-gdb - ref: 129ee12d013f4a2f09fe40a33072e6e47e949890 - unpetrify-ref: gdb-7.8-branch + ref: cf9e333b2158c90752a1eacd16a9443dff4a59f1 + unpetrify-ref: gdb-8.0-branch - name: lsof morph: strata/tools/lsof.morph repo: upstream:lsof -- cgit v1.2.1