diff --git a/.gitignore b/.gitignore index eedab49..0f324c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /gdb-libstdc++-v3-python-r225521.tar.xz -/gdb-7.10.50.20160131.tar.xz +/gdb-7.10.90.20160211.tar.xz diff --git a/gdb-6.3-test-pie-20050107.patch b/gdb-6.3-test-pie-20050107.patch index 260fba7..f7b5a58 100644 --- a/gdb-6.3-test-pie-20050107.patch +++ b/gdb-6.3-test-pie-20050107.patch @@ -1,27 +1,27 @@ -Index: gdb-7.10.50.20160121/gdb/testsuite/configure.ac +Index: gdb-7.10.90.20160211/gdb/testsuite/configure.ac =================================================================== ---- gdb-7.10.50.20160121.orig/gdb/testsuite/configure.ac 2016-01-21 02:48:36.000000000 +0100 -+++ gdb-7.10.50.20160121/gdb/testsuite/configure.ac 2016-01-22 17:13:28.163703633 +0100 -@@ -112,5 +112,5 @@ +--- gdb-7.10.90.20160211.orig/gdb/testsuite/configure.ac 2016-02-11 22:37:23.336668130 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/configure.ac 2016-02-11 22:37:28.981706957 +0100 +@@ -113,5 +113,5 @@ gdb.guile/Makefile gdb.linespec/Makefile \ gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile \ gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile \ - gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile \ + gdb.perf/Makefile gdb.pie/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile \ gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile]) -Index: gdb-7.10.50.20160121/gdb/testsuite/configure +Index: gdb-7.10.90.20160211/gdb/testsuite/configure =================================================================== ---- gdb-7.10.50.20160121.orig/gdb/testsuite/configure 2016-01-21 02:48:36.000000000 +0100 -+++ gdb-7.10.50.20160121/gdb/testsuite/configure 2016-01-22 17:13:28.164703639 +0100 -@@ -3512,7 +3512,7 @@ - ac_config_files="$ac_config_files lib/pdtrace" +--- gdb-7.10.90.20160211.orig/gdb/testsuite/configure 2016-02-11 22:37:23.338668144 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/configure 2016-02-11 22:38:02.365936577 +0100 +@@ -3511,7 +3511,7 @@ + ac_config_files="$ac_config_files lib/pdtrace" -ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile gdb.cell/Makefile gdb.compile/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.gdb/Makefile gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile gdb.guile/Makefile gdb.linespec/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile" +ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile gdb.cell/Makefile gdb.compile/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.gdb/Makefile gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile gdb.guile/Makefile gdb.linespec/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.perf/Makefile gdb.pie/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile" + cat >confcache <<\_ACEOF - # This file is a shell script that caches the results of configure @@ -4240,6 +4240,7 @@ "gdb.opt/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opt/Makefile" ;; "gdb.pascal/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.pascal/Makefile" ;; @@ -30,10 +30,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/configure "gdb.python/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.python/Makefile" ;; "gdb.reverse/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.reverse/Makefile" ;; "gdb.stabs/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.stabs/Makefile" ;; -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach.c +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/attach.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach.c 2016-01-22 17:13:28.164703639 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/attach.c 2016-02-11 22:37:28.983706971 +0100 @@ -0,0 +1,20 @@ +/* This program is intended to be started outside of gdb, and then + attached to by gdb. Thus, it simply spins in a loop. The loop @@ -55,10 +55,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach.c + } + return 0; +} -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach2.c +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/attach2.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach2.c 2016-01-22 17:13:28.165703646 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/attach2.c 2016-02-11 22:37:28.983706971 +0100 @@ -0,0 +1,24 @@ +/* This program is intended to be started outside of gdb, and then + attached to by gdb. Thus, it simply spins in a loop. The loop @@ -84,10 +84,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach2.c + } + return (0); +} -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break.c +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/break.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break.c 2016-01-22 17:13:28.165703646 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/break.c 2016-02-11 22:37:28.983706971 +0100 @@ -0,0 +1,146 @@ +/* This testcase is part of GDB, the GNU debugger. + @@ -235,10 +235,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break.c + } + return 0; +} -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break1.c +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/break1.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break1.c 2016-01-22 17:13:28.165703646 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/break1.c 2016-02-11 22:37:28.983706971 +0100 @@ -0,0 +1,44 @@ +/* This testcase is part of GDB, the GNU debugger. + @@ -284,10 +284,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break1.c +void marker3 (a, b) char *a, *b; {} /* set breakpoint 18 here */ +void marker4 (d) long d; {} /* set breakpoint 13 here */ +#endif -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/coremaker.c +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/coremaker.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/coremaker.c 2016-01-22 17:13:28.165703646 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/coremaker.c 2016-02-11 22:37:28.983706971 +0100 @@ -0,0 +1,142 @@ +/* Copyright 1992, 1993, 1994, 1995, 1996, 1999 + Free Software Foundation, Inc. @@ -431,10 +431,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/coremaker.c + return 0; +} + -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach.exp +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/attach.exp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach.exp 2016-01-22 17:13:28.166703652 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/attach.exp 2016-02-11 22:37:28.984706978 +0100 @@ -0,0 +1,417 @@ +# Copyright 1997, 1999, 2002 Free Software Foundation, Inc. + @@ -853,10 +853,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/attach.exp +do_call_attach_tests + +return 0 -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break.exp +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/break.exp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break.exp 2016-01-22 17:21:31.973720194 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/break.exp 2016-02-11 22:37:28.985706985 +0100 @@ -0,0 +1,954 @@ +# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2002, 2003, 2004 @@ -1812,10 +1812,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/break.exp + send_gdb "set args main\n" + gdb_expect -re ".*$gdb_prompt $" {} +} -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/corefile.exp +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/corefile.exp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/corefile.exp 2016-01-22 17:13:28.167703658 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/corefile.exp 2016-02-11 22:37:28.985706985 +0100 @@ -0,0 +1,233 @@ +# Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 +# Free Software Foundation, Inc. @@ -2050,10 +2050,10 @@ Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/corefile.exp +gdb_test "up" "#\[0-9\]* *\[0-9xa-fH'\]* in .* \\(.*\\).*" "up in corefile.exp (reinit)" + +gdb_test "core" "No core file now." -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/Makefile.in +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/Makefile.in =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.pie/Makefile.in 2016-01-22 17:13:28.167703658 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.pie/Makefile.in 2016-02-11 22:37:28.985706985 +0100 @@ -0,0 +1,19 @@ +VPATH = @srcdir@ +srcdir = @srcdir@ diff --git a/gdb-bfd-s390-indent-warning.patch b/gdb-bfd-s390-indent-warning.patch deleted file mode 100644 index bba28d9..0000000 --- a/gdb-bfd-s390-indent-warning.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://kojipkgs.fedoraproject.org//work/tasks/8536/12758536/build.log -../../bfd/elf64-s390.c: In function 'elf_s390_reloc_name_lookup': -../../bfd/elf64-s390.c:340:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] - if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0) - ^~ -../../bfd/elf64-s390.c:333:3: note: ...this 'for' clause, but it is not - for (i = 0; - ^~~ - -diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c -index 3887e8d..1261044 100644 ---- a/bfd/elf64-s390.c -+++ b/bfd/elf64-s390.c -@@ -337,10 +337,10 @@ elf_s390_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED, - && strcasecmp (elf_howto_table[i].name, r_name) == 0) - return &elf_howto_table[i]; - -- if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0) -- return &elf64_s390_vtinherit_howto; -- if (strcasecmp (elf64_s390_vtentry_howto.name, r_name) == 0) -- return &elf64_s390_vtentry_howto; -+ if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0) -+ return &elf64_s390_vtinherit_howto; -+ if (strcasecmp (elf64_s390_vtentry_howto.name, r_name) == 0) -+ return &elf64_s390_vtentry_howto; - - return NULL; - } diff --git a/gdb-bz541866-rwatch-before-run.patch b/gdb-bz541866-rwatch-before-run.patch index dc2d3ee..b657bd5 100644 --- a/gdb-bz541866-rwatch-before-run.patch +++ b/gdb-bz541866-rwatch-before-run.patch @@ -1,20 +1,20 @@ -Index: gdb-7.10.50.20160121/gdb/config/i386/linux64.mh +Index: gdb-7.10.90.20160211/gdb/config/i386/linux64.mh =================================================================== ---- gdb-7.10.50.20160121.orig/gdb/config/i386/linux64.mh 2016-01-21 02:48:36.000000000 +0100 -+++ gdb-7.10.50.20160121/gdb/config/i386/linux64.mh 2016-01-22 18:36:09.099067233 +0100 +--- gdb-7.10.90.20160211.orig/gdb/config/i386/linux64.mh 2016-02-11 20:56:32.470674877 +0100 ++++ gdb-7.10.90.20160211/gdb/config/i386/linux64.mh 2016-02-11 20:56:51.158797712 +0100 @@ -7,7 +7,7 @@ linux-procfs.o linux-ptrace.o linux-btrace.o \ linux-waitpid.o linux-personality.o x86-linux.o \ - x86-linux-dregs.o linux-namespaces.o + x86-linux-dregs.o amd64-linux-siginfo.o linux-namespaces.o -NAT_FILE= config/nm-linux.h +NAT_FILE= nm-linux64.h NAT_CDEPS = $(srcdir)/proc-service.list # The dynamically loaded libthread_db needs access to symbols in the -Index: gdb-7.10.50.20160121/gdb/config/i386/linux.mh +Index: gdb-7.10.90.20160211/gdb/config/i386/linux.mh =================================================================== ---- gdb-7.10.50.20160121.orig/gdb/config/i386/linux.mh 2016-01-21 02:48:36.000000000 +0100 -+++ gdb-7.10.50.20160121/gdb/config/i386/linux.mh 2016-01-22 18:36:09.099067233 +0100 +--- gdb-7.10.90.20160211.orig/gdb/config/i386/linux.mh 2016-02-11 20:56:26.925638430 +0100 ++++ gdb-7.10.90.20160211/gdb/config/i386/linux.mh 2016-02-11 20:56:32.471674884 +0100 @@ -1,6 +1,6 @@ # Host: Intel 386 running GNU/Linux. @@ -23,10 +23,10 @@ Index: gdb-7.10.50.20160121/gdb/config/i386/linux.mh NATDEPFILES= inf-ptrace.o fork-child.o \ x86-nat.o x86-dregs.o i386-linux-nat.o x86-linux-nat.o \ proc-service.o linux-thread-db.o \ -Index: gdb-7.10.50.20160121/gdb/config/i386/nm-linux.h +Index: gdb-7.10.90.20160211/gdb/config/i386/nm-linux.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/config/i386/nm-linux.h 2016-01-22 18:36:09.099067233 +0100 ++++ gdb-7.10.90.20160211/gdb/config/i386/nm-linux.h 2016-02-11 20:56:32.471674884 +0100 @@ -0,0 +1,28 @@ +/* Native support for GNU/Linux i386. + @@ -56,10 +56,10 @@ Index: gdb-7.10.50.20160121/gdb/config/i386/nm-linux.h +#define target_can_use_hardware_watchpoint(type, cnt, ot) 1 + +#endif /* NM_LINUX64_H */ -Index: gdb-7.10.50.20160121/gdb/config/i386/nm-linux64.h +Index: gdb-7.10.90.20160211/gdb/config/i386/nm-linux64.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/config/i386/nm-linux64.h 2016-01-22 18:36:09.100067240 +0100 ++++ gdb-7.10.90.20160211/gdb/config/i386/nm-linux64.h 2016-02-11 20:56:32.471674884 +0100 @@ -0,0 +1,28 @@ +/* Native support for GNU/Linux amd64. + @@ -89,10 +89,10 @@ Index: gdb-7.10.50.20160121/gdb/config/i386/nm-linux64.h +#define target_can_use_hardware_watchpoint(type, cnt, ot) 1 + +#endif /* NM_LINUX64_H */ -Index: gdb-7.10.50.20160121/gdb/target.h +Index: gdb-7.10.90.20160211/gdb/target.h =================================================================== ---- gdb-7.10.50.20160121.orig/gdb/target.h 2016-01-21 02:48:36.000000000 +0100 -+++ gdb-7.10.50.20160121/gdb/target.h 2016-01-22 18:36:09.100067240 +0100 +--- gdb-7.10.90.20160211.orig/gdb/target.h 2016-02-11 20:56:26.926638437 +0100 ++++ gdb-7.10.90.20160211/gdb/target.h 2016-02-11 20:56:32.472674890 +0100 @@ -1924,9 +1924,11 @@ CNT is the number of such watchpoints used so far, including this one. OTHERTYPE is who knows what... */ @@ -105,10 +105,10 @@ Index: gdb-7.10.50.20160121/gdb/target.h /* Returns the number of debug registers needed to watch the given memory region, or zero if not supported. */ -Index: gdb-7.10.50.20160121/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp +Index: gdb-7.10.90.20160211/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ gdb-7.10.50.20160121/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp 2016-01-22 18:38:58.350155294 +0100 ++++ gdb-7.10.90.20160211/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp 2016-02-11 20:56:32.472674890 +0100 @@ -0,0 +1,40 @@ +# Copyright 2009, 2010 Free Software Foundation, Inc. + diff --git a/gdb-rhbz795424-bitpos-21of25.patch b/gdb-rhbz795424-bitpos-21of25.patch index 71af3cf..0fa7ead 100644 --- a/gdb-rhbz795424-bitpos-21of25.patch +++ b/gdb-rhbz795424-bitpos-21of25.patch @@ -52,11 +52,11 @@ Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=bitpos-ensure-size_t.patch -Index: gdb-7.10.50.20151022/gdb/alpha-tdep.c +Index: gdb-7.10.90.20160211/gdb/alpha-tdep.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/alpha-tdep.c 2015-10-24 23:03:50.614898025 +0200 -+++ gdb-7.10.50.20151022/gdb/alpha-tdep.c 2015-10-24 23:03:52.099907749 +0200 -@@ -413,6 +413,13 @@ alpha_push_dummy_call (struct gdbarch *g +--- gdb-7.10.90.20160211.orig/gdb/alpha-tdep.c 2016-02-11 20:56:59.224850729 +0100 ++++ gdb-7.10.90.20160211/gdb/alpha-tdep.c 2016-02-11 20:57:05.385891225 +0100 +@@ -413,6 +413,13 @@ accumulate_size = 0; else accumulate_size -= sizeof(arg_reg_buffer); @@ -70,11 +70,11 @@ Index: gdb-7.10.50.20151022/gdb/alpha-tdep.c sp -= accumulate_size; /* Keep sp aligned to a multiple of 16 as the ABI requires. */ -Index: gdb-7.10.50.20151022/gdb/cp-valprint.c +Index: gdb-7.10.90.20160211/gdb/cp-valprint.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/cp-valprint.c 2015-10-24 23:03:52.100907756 +0200 -+++ gdb-7.10.50.20151022/gdb/cp-valprint.c 2015-10-24 23:06:20.496879433 +0200 -@@ -536,6 +536,8 @@ cp_print_value (struct type *type, struc +--- gdb-7.10.90.20160211.orig/gdb/cp-valprint.c 2016-02-11 20:56:59.224850729 +0100 ++++ gdb-7.10.90.20160211/gdb/cp-valprint.c 2016-02-11 20:57:05.385891225 +0100 +@@ -536,6 +536,8 @@ gdb_byte *buf; struct cleanup *back_to; @@ -83,11 +83,11 @@ Index: gdb-7.10.50.20151022/gdb/cp-valprint.c buf = (gdb_byte *) xmalloc (TYPE_LENGTH (baseclass)); back_to = make_cleanup (xfree, buf); -Index: gdb-7.10.50.20151022/gdb/dwarf2loc.c +Index: gdb-7.10.90.20160211/gdb/dwarf2loc.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/dwarf2loc.c 2015-10-24 23:03:50.616898039 +0200 -+++ gdb-7.10.50.20151022/gdb/dwarf2loc.c 2015-10-24 23:03:52.101907762 +0200 -@@ -1744,6 +1744,8 @@ read_pieced_value (struct value *v) +--- gdb-7.10.90.20160211.orig/gdb/dwarf2loc.c 2016-02-11 20:56:59.225850736 +0100 ++++ gdb-7.10.90.20160211/gdb/dwarf2loc.c 2016-02-11 20:57:05.386891231 +0100 +@@ -1744,6 +1744,8 @@ this_size = (this_size_bits + source_offset_bits % 8 + 7) / 8; source_offset = source_offset_bits / 8; @@ -96,7 +96,7 @@ Index: gdb-7.10.50.20151022/gdb/dwarf2loc.c if (buffer_size < this_size) { buffer_size = this_size; -@@ -1935,6 +1937,7 @@ write_pieced_value (struct value *to, st +@@ -1926,6 +1928,7 @@ } else { @@ -104,11 +104,11 @@ Index: gdb-7.10.50.20151022/gdb/dwarf2loc.c if (buffer_size < this_size) { buffer_size = this_size; -Index: gdb-7.10.50.20151022/gdb/findcmd.c +Index: gdb-7.10.90.20160211/gdb/findcmd.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/findcmd.c 2015-10-24 23:03:52.101907762 +0200 -+++ gdb-7.10.50.20151022/gdb/findcmd.c 2015-10-24 23:06:57.208119813 +0200 -@@ -184,6 +184,7 @@ parse_find_args (char *args, ULONGEST *m +--- gdb-7.10.90.20160211.orig/gdb/findcmd.c 2016-02-11 20:56:59.226850742 +0100 ++++ gdb-7.10.90.20160211/gdb/findcmd.c 2016-02-11 20:57:05.387891238 +0100 +@@ -184,6 +184,7 @@ size_t current_offset = pattern_buf_end - pattern_buf; pattern_buf_size = pattern_buf_size_need * 2; @@ -116,11 +116,11 @@ Index: gdb-7.10.50.20151022/gdb/findcmd.c pattern_buf = (gdb_byte *) xrealloc (pattern_buf, pattern_buf_size); pattern_buf_end = pattern_buf + current_offset; } -Index: gdb-7.10.50.20151022/gdb/p-valprint.c +Index: gdb-7.10.90.20160211/gdb/p-valprint.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/p-valprint.c 2015-10-24 23:03:52.101907762 +0200 -+++ gdb-7.10.50.20151022/gdb/p-valprint.c 2015-10-24 23:07:18.457258950 +0200 -@@ -768,6 +768,7 @@ pascal_object_print_value (struct type * +--- gdb-7.10.90.20160211.orig/gdb/p-valprint.c 2016-02-11 20:56:59.226850742 +0100 ++++ gdb-7.10.90.20160211/gdb/p-valprint.c 2016-02-11 20:57:05.387891238 +0100 +@@ -769,6 +769,7 @@ gdb_byte *buf; struct cleanup *back_to; @@ -128,11 +128,11 @@ Index: gdb-7.10.50.20151022/gdb/p-valprint.c buf = (gdb_byte *) xmalloc (TYPE_LENGTH (baseclass)); back_to = make_cleanup (xfree, buf); -Index: gdb-7.10.50.20151022/gdb/utils.c +Index: gdb-7.10.90.20160211/gdb/utils.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/utils.c 2015-10-24 23:03:50.617898045 +0200 -+++ gdb-7.10.50.20151022/gdb/utils.c 2015-10-24 23:03:52.102907769 +0200 -@@ -2835,6 +2835,18 @@ string_to_core_addr (const char *my_stri +--- gdb-7.10.90.20160211.orig/gdb/utils.c 2016-02-11 20:56:59.227850749 +0100 ++++ gdb-7.10.90.20160211/gdb/utils.c 2016-02-11 20:57:05.388891244 +0100 +@@ -2837,6 +2837,18 @@ return addr; } @@ -151,11 +151,11 @@ Index: gdb-7.10.50.20151022/gdb/utils.c char * gdb_realpath (const char *filename) { -Index: gdb-7.10.50.20151022/gdb/valops.c +Index: gdb-7.10.90.20160211/gdb/valops.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/valops.c 2015-10-24 23:03:52.103907775 +0200 -+++ gdb-7.10.50.20151022/gdb/valops.c 2015-10-24 23:08:27.056709599 +0200 -@@ -2057,6 +2057,7 @@ search_struct_method (const char *name, +--- gdb-7.10.90.20160211.orig/gdb/valops.c 2016-02-11 20:56:59.228850755 +0100 ++++ gdb-7.10.90.20160211/gdb/valops.c 2016-02-11 20:57:05.389891251 +0100 +@@ -2057,6 +2057,7 @@ struct cleanup *back_to; CORE_ADDR address; @@ -163,11 +163,11 @@ Index: gdb-7.10.50.20151022/gdb/valops.c tmp = (gdb_byte *) xmalloc (TYPE_LENGTH (baseclass)); back_to = make_cleanup (xfree, tmp); address = value_address (*arg1p); -Index: gdb-7.10.50.20151022/gdb/value.c +Index: gdb-7.10.90.20160211/gdb/value.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/value.c 2015-10-24 23:03:50.619898058 +0200 -+++ gdb-7.10.50.20151022/gdb/value.c 2015-10-24 23:08:00.049531291 +0200 -@@ -934,6 +934,7 @@ allocate_value_lazy (struct type *type) +--- gdb-7.10.90.20160211.orig/gdb/value.c 2016-02-11 20:56:59.229850762 +0100 ++++ gdb-7.10.90.20160211/gdb/value.c 2016-02-11 20:58:35.095480877 +0100 +@@ -935,6 +935,7 @@ description correctly. */ check_typedef (type); @@ -175,35 +175,28 @@ Index: gdb-7.10.50.20151022/gdb/value.c val = XCNEW (struct value); val->contents = NULL; val->next = all_values; -@@ -964,6 +965,8 @@ allocate_value_lazy (struct type *type) +@@ -1034,6 +1035,8 @@ static void allocate_value_contents (struct value *val) { + ulongest_fits_host_or_error (TYPE_LENGTH (val->enclosing_type)); + if (!val->contents) - val->contents = (gdb_byte *) xzalloc (TYPE_LENGTH (val->enclosing_type)); - } -@@ -2995,8 +2998,12 @@ void - set_value_enclosing_type (struct value *val, struct type *new_encl_type) - { - if (TYPE_LENGTH (new_encl_type) > TYPE_LENGTH (value_enclosing_type (val))) -- val->contents = -- (gdb_byte *) xrealloc (val->contents, TYPE_LENGTH (new_encl_type)); -+ { + { + check_type_length_before_alloc (val->enclosing_type); +@@ -3090,6 +3093,7 @@ + if (TYPE_LENGTH (new_encl_type) > TYPE_LENGTH (value_enclosing_type (val))) + { + check_type_length_before_alloc (new_encl_type); + ulongest_fits_host_or_error (TYPE_LENGTH (new_encl_type)); -+ -+ val->contents = -+ (gdb_byte *) xrealloc (val->contents, TYPE_LENGTH (new_encl_type)); -+ } - - val->enclosing_type = new_encl_type; - } -Index: gdb-7.10.50.20151022/gdb/vax-tdep.c + val->contents + = (gdb_byte *) xrealloc (val->contents, TYPE_LENGTH (new_encl_type)); + } +Index: gdb-7.10.90.20160211/gdb/vax-tdep.c =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/vax-tdep.c 2015-10-24 23:03:50.619898058 +0200 -+++ gdb-7.10.50.20151022/gdb/vax-tdep.c 2015-10-24 23:03:52.105907788 +0200 -@@ -219,6 +219,7 @@ vax_return_value (struct gdbarch *gdbarc +--- gdb-7.10.90.20160211.orig/gdb/vax-tdep.c 2016-02-11 20:56:59.229850762 +0100 ++++ gdb-7.10.90.20160211/gdb/vax-tdep.c 2016-02-11 20:57:05.391891264 +0100 +@@ -219,6 +219,7 @@ ULONGEST addr; regcache_raw_read_unsigned (regcache, VAX_R0_REGNUM, &addr); @@ -211,11 +204,11 @@ Index: gdb-7.10.50.20151022/gdb/vax-tdep.c read_memory (addr, readbuf, len); } -Index: gdb-7.10.50.20151022/gdb/defs.h +Index: gdb-7.10.90.20160211/gdb/defs.h =================================================================== ---- gdb-7.10.50.20151022.orig/gdb/defs.h 2015-10-24 23:03:50.619898058 +0200 -+++ gdb-7.10.50.20151022/gdb/defs.h 2015-10-24 23:03:52.105907788 +0200 -@@ -690,4 +690,6 @@ enum block_enum +--- gdb-7.10.90.20160211.orig/gdb/defs.h 2016-02-11 20:56:59.229850762 +0100 ++++ gdb-7.10.90.20160211/gdb/defs.h 2016-02-11 20:57:05.391891264 +0100 +@@ -690,4 +690,6 @@ #include "utils.h" diff --git a/gdb-testsuite-fortran-gcc5.patch b/gdb-testsuite-fortran-gcc5.patch new file mode 100644 index 0000000..e5c2899 --- /dev/null +++ b/gdb-testsuite-fortran-gcc5.patch @@ -0,0 +1,123 @@ +http://sourceware.org/ml/gdb-patches/2016-02/msg00441.html +Subject: [testsuite patch] Fix false Fortran regressions with recent gcc + + +--pWyiEgJYm5f9v55/ +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline + +Hi, + +gcc-4.9.2-6.fc21.x86_64 -> gcc-5.3.1-2.fc23.x86_64 + +-PASS: gdb.fortran/vla-ptype.exp: ptype pvla not initialized ++FAIL: gdb.fortran/vla-ptype.exp: ptype pvla not initialized +-PASS: gdb.fortran/vla-history.exp: print vla1 allocated ++FAIL: gdb.fortran/vla-history.exp: print vla1 allocated +-PASS: gdb.fortran/vla-history.exp: print $2 ++FAIL: gdb.fortran/vla-history.exp: print $2 +-PASS: gdb.fortran/vla-value.exp: print undefined pvla ++FAIL: gdb.fortran/vla-value.exp: print undefined pvla +-PASS: gdb.fortran/vla-value.exp: print non-associated &pvla ++FAIL: gdb.fortran/vla-value.exp: print non-associated &pvla +-PASS: gdb.fortran/vla-value.exp: print undefined pvla(1,3,8) ++FAIL: gdb.fortran/vla-value.exp: print undefined pvla(1,3,8) + +These issues get fixed (or removed if no longer applicable) by attached patch. + +It is based on Googled: + http://www.cs.rpi.edu/~szymansk/OOF90/bugs.html#5 + When a pointer is declared its status is undefined, and cannot be + safely queried with the associated intrinsic. + -> nullify(VARNAME) ++ + https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/268786 + ALLOCATE is not supposed to initialize the array. + -> Remove checks like an initial print is: \\( *0, *0, *0...\\) + +These regressions remain: + -PASS: gdb.fortran/library-module.exp: print var_i in lib + +FAIL: gdb.fortran/library-module.exp: print var_i in lib + -PASS: gdb.fortran/library-module.exp: print var_i in main + +FAIL: gdb.fortran/library-module.exp: print var_i in main +I believe it is more a GDB bug (in a code contributed by me), filed: + gdb.fortran/library-module.exp false regression on GCC upgrade + https://sourceware.org/bugzilla/show_bug.cgi?id=19635 + +OK for check-in? + + +Thanks, +Jan + +--pWyiEgJYm5f9v55/ +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline; filename=1 + +gdb/testsuite/ChangeLog +2016-02-13 Jan Kratochvil + + Fix compatibility with recent gfortran-5.3.1. + * gdb.fortran/vla-history.exp (print vla1 allocated) + (print vla2 allocated, print $2, print $3): Remove + (print $4): Rename to ... + (print $2): ... here. + (print $9): Rename to ... + (print $5): ... here. + (print $10): Rename to ... + (print $6): ... here. + * gdb.fortran/vla.f90: Add pvla initialization. + +diff --git a/gdb/testsuite/gdb.fortran/vla-history.exp b/gdb/testsuite/gdb.fortran/vla-history.exp +index 315c61a..1478e6b 100644 +--- a/gdb/testsuite/gdb.fortran/vla-history.exp ++++ b/gdb/testsuite/gdb.fortran/vla-history.exp +@@ -32,10 +32,6 @@ gdb_test "print vla1" " = " "print non-allocated vla1" + + gdb_breakpoint [gdb_get_line_number "vla2-allocated"] + gdb_continue_to_breakpoint "vla2-allocated" +-gdb_test "print vla1" " = \\( *\\( *\\( *0, *0, *0,\[()0, .\]*\\)" \ +- "print vla1 allocated" +-gdb_test "print vla2" " = \\( *\\( *\\( *0, *0, *0,\[()0, .\]*\\)" \ +- "print vla2 allocated" + + gdb_breakpoint [gdb_get_line_number "vla1-filled"] + gdb_continue_to_breakpoint "vla1-filled" +@@ -45,12 +41,8 @@ gdb_test "print vla1" \ + + # Try to access history values for full vla prints. + gdb_test "print \$1" " = " "print \$1" +-gdb_test "print \$2" " = \\( *\\( *\\( *0, *0, *0,\[()0, .\]*\\)" \ +- "print \$2" +-gdb_test "print \$3" " = \\( *\\( *\\( *0, *0, *0,\[()0, .\]*\\)" \ +- "print \$3" +-gdb_test "print \$4" \ +- " = \\( *\\( *\\( *1311, *1311, *1311,\[()1311, .\]*\\)" "print \$4" ++gdb_test "print \$2" \ ++ " = \\( *\\( *\\( *1311, *1311, *1311,\[()1311, .\]*\\)" "print \$2" + + gdb_breakpoint [gdb_get_line_number "vla2-filled"] + gdb_continue_to_breakpoint "vla2-filled" +@@ -58,5 +50,5 @@ gdb_test "print vla2(1,43,20)" " = 1311" "print vla2(1,43,20)" + gdb_test "print vla1(1,3,8)" " = 1001" "print vla2(1,3,8)" + + # Try to access history values for vla values. +-gdb_test "print \$9" " = 1311" "print \$9" +-gdb_test "print \$10" " = 1001" "print \$10" ++gdb_test "print \$5" " = 1311" "print \$5" ++gdb_test "print \$6" " = 1001" "print \$6" +diff --git a/gdb/testsuite/gdb.fortran/vla.f90 b/gdb/testsuite/gdb.fortran/vla.f90 +index 6a96635..c76d24c 100644 +--- a/gdb/testsuite/gdb.fortran/vla.f90 ++++ b/gdb/testsuite/gdb.fortran/vla.f90 +@@ -19,6 +19,7 @@ program vla + real, target, allocatable :: vla3 (:, :) + real, pointer :: pvla (:, :, :) + logical :: l ++ nullify(pvla) + + allocate (vla1 (10,10,10)) ! vla1-init + l = allocated(vla1) + +--pWyiEgJYm5f9v55/-- + diff --git a/gdb-testsuite-fortran-max-value-size.patch b/gdb-testsuite-fortran-max-value-size.patch new file mode 100644 index 0000000..7673032 --- /dev/null +++ b/gdb-testsuite-fortran-max-value-size.patch @@ -0,0 +1,67 @@ +http://sourceware.org/ml/gdb-patches/2016-02/msg00442.html +Subject: [testsuite patch] testsuite regression: gdb.fortran/vla-value-sub.exp gdb.fortran/vla-value-sub-finish.exp [Re: [PATCH 1/3] gdb: New set/show max-value-size command.] + + +--u3/rZRmxL6MmkK24 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline + +On Wed, 06 Jan 2016 12:40:50 +0100, Andrew Burgess wrote: +> +static int max_value_size = 65536; /* 64k bytes */ + +FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was filled (passed fixed array) +FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was mofified in debugger (passed fixed array) +FAIL: gdb.fortran/vla-value-sub-finish.exp: print array2 in foo after it was filled +FAIL: gdb.fortran/vla-value-sub-finish.exp: print array2 in foo after it was mofified in debugger + +print array2 +value requires 296352 bytes, which is more than max-value-size +(gdb) FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was filled (passed fixed array) + +OK for check-in? + +Tested on x86_64-fedora23-linux-gnu. + + +Jan + +--u3/rZRmxL6MmkK24 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline; filename=1 + +gdb/testsuite/ChangeLog +2016-02-13 Jan Kratochvil + + * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024): + New test. + * gdb.fortran/vla-value-sub.exp: Likewise. + +diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp b/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp +index c47ef2c..fde6c9f 100644 +--- a/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp ++++ b/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp +@@ -32,6 +32,8 @@ if ![runto_main] { + + gdb_breakpoint [gdb_get_line_number "array2-almost-filled"] + gdb_continue_to_breakpoint "array2-almost-filled" ++# array2 size is 296352 bytes. ++gdb_test_no_output "set max-value-size 1024*1024" + gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \ + "print array2 in foo after it was filled" + gdb_test "print array2(2,1,1)=20" " = 20" \ +diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub.exp b/gdb/testsuite/gdb.fortran/vla-value-sub.exp +index 361d7a9..179683d 100644 +--- a/gdb/testsuite/gdb.fortran/vla-value-sub.exp ++++ b/gdb/testsuite/gdb.fortran/vla-value-sub.exp +@@ -42,6 +42,8 @@ gdb_test "print array1(1, 1)" " = 30" \ + + gdb_breakpoint [gdb_get_line_number "array2-almost-filled"] + gdb_continue_to_breakpoint "array2-almost-filled (1st)" ++# array2 size is 296352 bytes. ++gdb_test_no_output "set max-value-size 1024*1024" + gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \ + "print array2 in foo after it was filled (passed fixed array)" + gdb_test "print array2(2,1,1)=20" " = 20" \ + +--u3/rZRmxL6MmkK24-- + diff --git a/gdb-testsuite-subdirs-revert.patch b/gdb-testsuite-subdirs-revert.patch new file mode 100644 index 0000000..9c8df3e --- /dev/null +++ b/gdb-testsuite-subdirs-revert.patch @@ -0,0 +1,1202 @@ +[testsuite 7.11] Regression for i386-biarch-core.exp and others [Re: [PATCH] Always organize test artifacts in a directory hierarchy] +https://sourceware.org/ml/gdb-patches/2016-02/msg00390.html + +commit 2151ccc56c74b55a8f0debf0724a495368f92591 +Author: Simon Marchi +Date: Mon Feb 8 14:02:36 2016 -0500 + + Always organize test artifacts in a directory hierarchy + + When running tests in parallel, each test puts its generated files in a + different directory, under "outputs". I think it would be nice if it + was always the case, as it would isolate the test cases a bit more. An + artifact created by a test wouldn't get overwritten by another test. + + Also, it makes it easier to clean up. A lot of executables are left all + over the place because their names do not appear in gdb.*/Makefile. If + everything is in "outputs", then we just have to delete that directory + (which we already do). + + At the same time it makes the gdb.foo directories and their Makefiles + useless in the build directory, since they are pretty much only used for + cleaning. + + What do you think? + + gdb/testsuite/ChangeLog: + + * Makefile.in (ALL_SUBDIRS): Remove. + (clean mostlyclean): Do not recurse in ALL_SUBDIRS. + (distclean maintainer-clean realclean): Likewise. + * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile. + * configure: Regenerate. + * gdb.ada/Makefile.in: Delete. + * gdb.arch/Makefile.in: Likewise. + * gdb.asm/Makefile.in: Likewise. + * gdb.base/Makefile.in: Likewise. + * gdb.btrace/Makefile.in: Likewise. + * gdb.cell/Makefile.in: Likewise. + * gdb.compile/Makefile.in: Likewise. + * gdb.cp/Makefile.in: Likewise. + * gdb.disasm/Makefile.in: Likewise. + * gdb.dlang/Makefile.in: Likewise. + * gdb.dwarf2/Makefile.in: Likewise. + * gdb.fortran/Makefile.in: Likewise. + * gdb.gdb/Makefile.in: Likewise. + * gdb.go/Makefile.in: Likewise. + * gdb.guile/Makefile.in: Likewise. + * gdb.java/Makefile.in: Likewise. + * gdb.linespec/Makefile.in: Likewise. + * gdb.mi/Makefile.in: Likewise. + * gdb.modula2/Makefile.in: Likewise. + * gdb.multi/Makefile.in: Likewise. + * gdb.objc/Makefile.in: Likewise. + * gdb.opencl/Makefile.in: Likewise. + * gdb.opt/Makefile.in: Likewise. + * gdb.pascal/Makefile.in: Likewise. + * gdb.perf/Makefile.in: Likewise. + * gdb.python/Makefile.in: Likewise. + * gdb.reverse/Makefile.in: Likewise. + * gdb.server/Makefile.in: Likewise. + * gdb.stabs/Makefile.in: Likewise. + * gdb.threads/Makefile.in: Likewise. + * gdb.trace/Makefile.in: Likewise. + * gdb.xml/Makefile.in: Likewise. + * lib/gdb.exp (make_gdb_parallel_path): Add check for + GDB_PARALLEL. + (standard_output_file): Remove check for GDB_PARALLEL, always + return path in outputs/$subdir/$testname. + +diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in +index 38c3052..6597196 100644 +--- a/gdb/testsuite/Makefile.in ++++ b/gdb/testsuite/Makefile.in +@@ -33,6 +33,12 @@ SHELL = @SHELL@ + EXEEXT = @EXEEXT@ + SUBDIRS = @subdirs@ + RPATH_ENVVAR = @RPATH_ENVVAR@ ++ALL_SUBDIRS = gdb.ada gdb.arch gdb.asm gdb.base gdb.btrace gdb.cell gdb.cp \ ++ gdb.disasm gdb.dlang gdb.dwarf2 gdb.fortran gdb.gdb gdb.go \ ++ gdb.java gdb.linespec gdb.mi gdb.modula2 gdb.multi \ ++ gdb.objc gdb.opencl gdb.opt gdb.pascal gdb.python gdb.server \ ++ gdb.stabs gdb.reverse gdb.threads gdb.trace gdb.xml \ ++ $(SUBDIRS) + + EXTRA_RULES = @EXTRA_RULES@ + +@@ -276,11 +282,29 @@ clean mostlyclean: + -rm -rf outputs temp cache + -rm -rf gdb.perf/workers gdb.perf/outputs gdb.perf/temp gdb.perf/cache + -rm -f read1.so expect-read1 ++ if [ x"${ALL_SUBDIRS}" != x ] ; then \ ++ for dir in ${ALL_SUBDIRS}; \ ++ do \ ++ echo "$$dir:"; \ ++ if [ -d $$dir ]; then \ ++ (cd $$dir; $(MAKE) clean); \ ++ fi; \ ++ done ; \ ++ else true; fi + + distclean maintainer-clean realclean: clean + -rm -f *~ core + -rm -f Makefile config.status *-init.exp + -rm -fr *.log summary detail *.plog *.sum *.psum site.* ++ if [ x"${ALL_SUBDIRS}" != x ] ; then \ ++ for dir in ${ALL_SUBDIRS}; \ ++ do \ ++ echo "$$dir:"; \ ++ if [ -d $$dir ]; then \ ++ (cd $$dir; $(MAKE) distclean); \ ++ fi; \ ++ done ; \ ++ else true; fi + + Makefile : Makefile.in config.status $(host_makefile_frag) + $(SHELL) config.status +diff --git a/gdb/testsuite/configure b/gdb/testsuite/configure +index 976dbe8..162dd22 100755 +--- a/gdb/testsuite/configure ++++ b/gdb/testsuite/configure +@@ -3511,7 +3511,7 @@ program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + + ac_config_files="$ac_config_files lib/pdtrace" + +-ac_config_files="$ac_config_files Makefile" ++ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile gdb.cell/Makefile gdb.compile/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.gdb/Makefile gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile gdb.guile/Makefile gdb.linespec/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile" + + + cat >confcache <<\_ACEOF +@@ -4214,6 +4214,38 @@ do + case $ac_config_target in + "lib/pdtrace") CONFIG_FILES="$CONFIG_FILES lib/pdtrace" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; ++ "gdb.ada/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.ada/Makefile" ;; ++ "gdb.arch/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.arch/Makefile" ;; ++ "gdb.asm/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.asm/Makefile" ;; ++ "gdb.base/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.base/Makefile" ;; ++ "gdb.btrace/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.btrace/Makefile" ;; ++ "gdb.cell/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.cell/Makefile" ;; ++ "gdb.compile/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.compile/Makefile" ;; ++ "gdb.cp/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.cp/Makefile" ;; ++ "gdb.disasm/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.disasm/Makefile" ;; ++ "gdb.dwarf2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dwarf2/Makefile" ;; ++ "gdb.dlang/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dlang/Makefile" ;; ++ "gdb.fortran/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.fortran/Makefile" ;; ++ "gdb.gdb/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.gdb/Makefile" ;; ++ "gdb.go/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.go/Makefile" ;; ++ "gdb.server/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.server/Makefile" ;; ++ "gdb.java/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.java/Makefile" ;; ++ "gdb.guile/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.guile/Makefile" ;; ++ "gdb.linespec/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.linespec/Makefile" ;; ++ "gdb.mi/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.mi/Makefile" ;; ++ "gdb.modula2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.modula2/Makefile" ;; ++ "gdb.multi/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.multi/Makefile" ;; ++ "gdb.objc/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.objc/Makefile" ;; ++ "gdb.opencl/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opencl/Makefile" ;; ++ "gdb.opt/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opt/Makefile" ;; ++ "gdb.pascal/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.pascal/Makefile" ;; ++ "gdb.perf/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.perf/Makefile" ;; ++ "gdb.python/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.python/Makefile" ;; ++ "gdb.reverse/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.reverse/Makefile" ;; ++ "gdb.stabs/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.stabs/Makefile" ;; ++ "gdb.threads/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.threads/Makefile" ;; ++ "gdb.trace/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.trace/Makefile" ;; ++ "gdb.xml/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.xml/Makefile" ;; + + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +diff --git a/gdb/testsuite/configure.ac b/gdb/testsuite/configure.ac +index 91e5d22..6701878 100644 +--- a/gdb/testsuite/configure.ac ++++ b/gdb/testsuite/configure.ac +@@ -104,4 +104,14 @@ GDB_AC_TRANSFORM(nm, NM_TRANSFORM_NAME) + AC_CONFIG_FILES([lib/pdtrace], [chmod +x lib/pdtrace]) + AC_CONFIG_FILES([Makefile]) + +-AC_OUTPUT ++AC_OUTPUT([Makefile \ ++ gdb.ada/Makefile \ ++ gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.btrace/Makefile \ ++ gdb.cell/Makefile gdb.compile/Makefile gdb.cp/Makefile gdb.disasm/Makefile \ ++ gdb.dwarf2/Makefile gdb.dlang/Makefile gdb.fortran/Makefile gdb.gdb/Makefile \ ++ gdb.go/Makefile gdb.server/Makefile gdb.java/Makefile \ ++ gdb.guile/Makefile gdb.linespec/Makefile \ ++ gdb.mi/Makefile gdb.modula2/Makefile gdb.multi/Makefile \ ++ gdb.objc/Makefile gdb.opencl/Makefile gdb.opt/Makefile gdb.pascal/Makefile \ ++ gdb.perf/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.stabs/Makefile \ ++ gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile]) +diff --git a/gdb/testsuite/gdb.ada/Makefile.in b/gdb/testsuite/gdb.ada/Makefile.in +new file mode 100644 +index 0000000..d9a3c79 +--- /dev/null ++++ b/gdb/testsuite/gdb.ada/Makefile.in +@@ -0,0 +1,66 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = \ ++ array_bounds/bar \ ++ array_return/p \ ++ array_subscript_addr/p \ ++ arrayidx/p \ ++ arrayparam/foo \ ++ arrayptr/foo \ ++ atomic_enum/foo \ ++ catch_ex/foo \ ++ char_param/foo \ ++ complete/foo \ ++ exec_changed/common \ ++ exec_changed/first \ ++ exec_changed/second \ ++ exprs/p \ ++ fixed_cmp/fixed \ ++ fixed_points/fixed_points \ ++ formatted_ref/formatted_ref \ ++ frame_args/foo \ ++ fun_addr/foo \ ++ fun_in_declare/foo \ ++ funcall_param/foo \ ++ homonym/homonym_main \ ++ info_types \ ++ interface/foo \ ++ lang_switch/lang_switch \ ++ nested/hello \ ++ null_array/foo \ ++ null_record/null_record \ ++ packed_array/pa \ ++ packed_tagged/comp_bug \ ++ print_chars/foo \ ++ start/dummy \ ++ ptype_field/foo \ ++ ref_param/foo \ ++ str_ref_cmp/foo \ ++ sym_print_name/foo \ ++ taft_type/p \ ++ tagged/foo \ ++ type_coercion/assign \ ++ watch_arg/watch ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -find . -name '*.o' -print | xargs rm -f ++ -find . -name '*.ali' -print | xargs rm -f ++ -find . -name 'b~*.ad[sb]' -print | xargs rm -f ++ -rm -f *~ a.out xgdb *.x *.ci *.tmp ++ -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp ++ -find . -name '*.dwo' -print | xargs rm -f ++ -find . -name '*.dwp' -print | xargs rm -f ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f $(MISCELLANEOUS) twice-tmp.c ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.arch/Makefile.in b/gdb/testsuite/gdb.arch/Makefile.in +new file mode 100644 +index 0000000..9aaf1ce +--- /dev/null ++++ b/gdb/testsuite/gdb.arch/Makefile.in +@@ -0,0 +1,20 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = altivec-abi altivec-regs amd64-byte amd64-disp-step amd64-dword \ ++ amd64-entry-value amd64-i386-address amd64-word i386-bp_permanent \ ++ i386-permbkpt i386-avx i386-avx512 i386-signal i386-sse sparc-sysstep ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out *.x *.ci *.tmp gcore.test system-gcore ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.asm/Makefile.in b/gdb/testsuite/gdb.asm/Makefile.in +new file mode 100644 +index 0000000..f3e6e8b +--- /dev/null ++++ b/gdb/testsuite/gdb.asm/Makefile.in +@@ -0,0 +1,20 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = asm-source ++MISCELLANEOUS = arch.inc ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out *.x *.ci *.tmp ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.base/Makefile.in b/gdb/testsuite/gdb.base/Makefile.in +new file mode 100644 +index 0000000..dda3169 +--- /dev/null ++++ b/gdb/testsuite/gdb.base/Makefile.in +@@ -0,0 +1,69 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = a2-run advance all-types annota1 annota1-watch_thread_num \ ++ annota3 anon args arrayidx async attach attach-pie-misread \ ++ attach2 auxv bang\! bfp-test bigcore bitfields bitfields2 \ ++ break break-always break-entry break-interp-test breako2 \ ++ breakpoint-shadow break-on-linker-gcd-function \ ++ call-ar-st call-rt-st call-sc-t* call-signals \ ++ call-strs callexit callfuncs callfwmall charset checkpoint \ ++ chng-syms code_elim1 code_elim2 commands compiler completion complex \ ++ condbreak consecutive constvars coremaker cursal cvexpr \ ++ dbx-test del disasm-end-cu display dprintf-pending dump dup-sect \ ++ dup-sect.debug \ ++ dup-sect.stripped ending-run execd-prog expand-psymtabs exprs \ ++ fileio find finish fixsection float foll-exec foll-fork foll-vfork \ ++ frame-args freebpcmd fullname funcargs gcore \ ++ gcore-buffer-overflow-012* \ ++ gdb1090 gdb11530 gdb11531 gdb1250 gdb1555-main gdb1821 gdbvars \ ++ hashline1 hashline2 hashline3 hbreak hook-stop-continue \ ++ hook-stop-frame huge included infnan info-target int-type \ ++ interrupt jit-main jump label langs lineinc list longjmp long_long \ ++ macscp mips_pro miscexprs moribund-step multi-forks nodebug \ ++ nofield nostdlib opaque overlays pc-fp pending permission \ ++ pie-execl1 pie-execl2 pointers pointers2 pr11022 prelinkt \ ++ prelinkt.debug prelinkt.stripped printcmds prologue psymtab \ ++ ptr-typedef ptype randomize recurse relational relativedebug \ ++ reread reread1 restore return return-nodebug-* return2 run \ ++ savedregs scope section_command sep sepdebug sepdebug.stripped \ ++ sepdebug2 sepdebug2.debug sepdebug2.stripped sepsymtab \ ++ sepsymtab.debug sepsymtab.stripped setshow setvar shmain shreloc \ ++ sigall sigaltstack sigbpt sigchld siginfo siginfo-addr \ ++ siginfo-infcall siginfo-obj signals signull sigrepeat sigstep \ ++ sizeof skip skip-solib solib solib-corrupted solib-display-main \ ++ solib-nodir solib-overlap-main-0x40000000 solib-symbol-main solib-weak \ ++ solib-weak-lib2 solib_sl so-impl-ld so-indr-cl \ ++ stack-checking start step-break step-bt step-line step-resume-infcall \ ++ step-test store structs-t* structs2 structs3 \ ++ symbol-without-target_section term tui-layout twice-tmp \ ++ type-opaque-main ui-redirect unload until unwindonsignal \ ++ valgrind-db-attach value-double-free varargs vforked-prog \ ++ volatile watch-cond watch-cond-infcall watch-non-mem watch-read \ ++ watch-vfork watch_thread_num watchpoint watchpoint-cond-gone \ ++ watchpoint-hw watchpoint-hw-hit-once watchpoint-solib watchpoints \ ++ wchar whatis whatis-exp catch-syscall \ ++ pr10179 gnu_vector ++ ++MISCELLANEOUS = coremmap.data dprintf-pendshr.sl ../foobar.baz fixsectshr.sl \ ++ pendshr.sl shreloc1.sl shreloc2.sl twice-tmp.c \ ++ shr1.sl shr2.sl solib_sl.sl solib1.sl solib2.sl \ ++ unloadshr.sl unloadshr2.sl watchpoint-solib-shr.sl \ ++ weaklib1.sl weaklib2.sl hashline1.c hashline2.c hashline3.c \ ++ auxv.gcore bigcore.corefile *.core *.debug *.stripped \ ++ gcore-buffer-overflow.test gcore.test shreloc.txt tmp-fullname.c ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.btrace/Makefile.in b/gdb/testsuite/gdb.btrace/Makefile.in +new file mode 100644 +index 0000000..c90794f +--- /dev/null ++++ b/gdb/testsuite/gdb.btrace/Makefile.in +@@ -0,0 +1,19 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = enable function_call_history instruction_history tailcall \ ++ exception unknown_functions record_goto delta step stepi \ ++ multi-thread-step rn-dl-bind data ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ rm -f *~ *.o *.x *.ci *.sl a.out core ++ rm -f *.dwo *.dwp ++ rm -f $(EXECUTABLES) $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ rm -f Makefile config.status config.log site.* gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.cell/Makefile.in b/gdb/testsuite/gdb.cell/Makefile.in +new file mode 100644 +index 0000000..7771d61 +--- /dev/null ++++ b/gdb/testsuite/gdb.cell/Makefile.in +@@ -0,0 +1,21 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = break bt coremaker data mem-access size ++ ++SPU_EXECUTABLES = break-spu bt-spu bt2-spu coremaker-spu data-spu \ ++ ea-cache-spu ea-standalone ea-test mem-access-spu size-spu ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out core corefile gcore.test ++ -rm -f *.dwo *.dwp ++ -rm -f $(EXECUTABLES) $(SPU_EXECUTABLES) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.compile/Makefile.in b/gdb/testsuite/gdb.compile/Makefile.in +new file mode 100644 +index 0000000..6a1a895 +--- /dev/null ++++ b/gdb/testsuite/gdb.compile/Makefile.in +@@ -0,0 +1,21 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = \ ++ chan handcall hello integers methods package \ ++ strings types unsafe ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -find . -name '*.o' -print | xargs rm -f ++ -find . -name '*.ali' -print | xargs rm -f ++ -rm -f *~ a.out ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.cp/Makefile.in b/gdb/testsuite/gdb.cp/Makefile.in +new file mode 100644 +index 0000000..2958e24 +--- /dev/null ++++ b/gdb/testsuite/gdb.cp/Makefile.in +@@ -0,0 +1,28 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = abstract-origin ambiguous annota2 annota3 anon-union \ ++ arg-reference bool breakpoint bs15503 call-c casts class2 \ ++ classes converts cpexprs cplusfuncs cttiadd derivation \ ++ exception expand-sals extern-c formatted-ref fpointer gdb1355 \ ++ gdb2384 hang infcall-dlopen inherit koenig local m-data m-static \ ++ mb-ctor mb-inline mb-templates member-ptr method misc namespace \ ++ namespace-enum namespace-nested-import nextoverthrow noparam nsdecl \ ++ nsimport nsnested nsnoimports nsrecurs nsstress nsusing operator \ ++ oranking overload overload-const ovldbreak pass-by-ref pr-1023 pr-1210 \ ++ pr-574 pr10728 pr12028 pr9631 printmethod psmang ptype-cv-cp \ ++ re-set-overloaded ref-typ ref-typ2 rtti shadow smartp temargs \ ++ templates try_catch typedef-operator userdef virtbase virtfunc \ ++ ref-types ref-params method2 pr9594 gdb2495 virtfunc2 pr9067 \ ++ pr1072 pr10687 pr9167 ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core ${EXECUTABLES} ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.disasm/Makefile.in b/gdb/testsuite/gdb.disasm/Makefile.in +new file mode 100644 +index 0000000..f4830fa +--- /dev/null ++++ b/gdb/testsuite/gdb.disasm/Makefile.in +@@ -0,0 +1,14 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++.PHONY: all clean mostlyclean distclean realclean ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *.o *.diff *~ *.bad core h8300s hppa mn10300 sh3 ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.dlang/Makefile.in b/gdb/testsuite/gdb.dlang/Makefile.in +new file mode 100644 +index 0000000..5527c3e +--- /dev/null ++++ b/gdb/testsuite/gdb.dlang/Makefile.in +@@ -0,0 +1,15 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core ${EXECUTABLES} ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.dwarf2/Makefile.in b/gdb/testsuite/gdb.dwarf2/Makefile.in +new file mode 100644 +index 0000000..02f6a67 +--- /dev/null ++++ b/gdb/testsuite/gdb.dwarf2/Makefile.in +@@ -0,0 +1,46 @@ ++# Makefile for regression testing the GNU debugger. ++# Copyright 1992-2016 Free Software Foundation, Inc. ++ ++# This file is part of GDB. ++ ++# GDB is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 3, or (at your option) ++# any later version. ++ ++# GDB is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++ ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = *.x pr10770 dw2-cp-infcall-ref-static dw2-inline-param \ ++ dw2-noloc dw2-ranges dw2-ref-missing-frame dw2-unresolved gdb-index \ ++ dwp-symlink ++ ++MISCELLANEOUS = \ ++ dwp-symlink.dwp dwp-symlink-thelink dwp-symlink-thelink.dwp \ ++ dwp-dir1 dwp-dir2 dwp-dir3 ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out *.x *.ci *.tmp ++ -rm -f core core.coremaker coremaker.core corefile ++ -rm -f *.dwo *.dwp ++ -rm -f $(EXECUTABLES) ++ -rm -rf $(MISCELLANEOUS) ++ -rm -f *.gdb-index *.with-index ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.fortran/Makefile.in b/gdb/testsuite/gdb.fortran/Makefile.in +new file mode 100644 +index 0000000..e9a1f04 +--- /dev/null ++++ b/gdb/testsuite/gdb.fortran/Makefile.in +@@ -0,0 +1,34 @@ ++# Makefile for regression testing the GNU debugger. ++# Copyright 1992-2016 Free Software Foundation, Inc. ++ ++# This file is part of GDB. ++ ++# GDB is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 3, or (at your option) ++# any later version. ++ ++# GDB is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++ ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core ${EXECUTABLES} ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.gdb/Makefile.in b/gdb/testsuite/gdb.gdb/Makefile.in +new file mode 100644 +index 0000000..5527c3e +--- /dev/null ++++ b/gdb/testsuite/gdb.gdb/Makefile.in +@@ -0,0 +1,15 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core ${EXECUTABLES} ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.go/Makefile.in b/gdb/testsuite/gdb.go/Makefile.in +new file mode 100644 +index 0000000..6a1a895 +--- /dev/null ++++ b/gdb/testsuite/gdb.go/Makefile.in +@@ -0,0 +1,21 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = \ ++ chan handcall hello integers methods package \ ++ strings types unsafe ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -find . -name '*.o' -print | xargs rm -f ++ -find . -name '*.ali' -print | xargs rm -f ++ -rm -f *~ a.out ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.guile/Makefile.in b/gdb/testsuite/gdb.guile/Makefile.in +new file mode 100644 +index 0000000..37f9cb0 +--- /dev/null ++++ b/gdb/testsuite/gdb.guile/Makefile.in +@@ -0,0 +1,17 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core $(EXECUTABLES) $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.java/Makefile.in b/gdb/testsuite/gdb.java/Makefile.in +new file mode 100644 +index 0000000..0b0ae1a +--- /dev/null ++++ b/gdb/testsuite/gdb.java/Makefile.in +@@ -0,0 +1,22 @@ ++srcdir = @srcdir@ ++VPATH = @srcdir@ ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++.SUFFIXES: .java .class .o .exe .exp .check ++ ++# Do 'make javamisc.check' to run just the javamisc.exp test. ++ ++.exp.check: ++ rootme=`pwd`/; export rootme; \ ++ cd .. ; \ ++ $(MAKE) just-check RUNTESTFLAGS="${RUNTESTFLAGS} $*.exp" \ ++ EXPECT=${EXPECT} ++ ++clean mostlyclean: ++ -rm -f *.o ${OBJS} *.class *.exe *~ core jmain jmisc jnpe jprint ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.linespec/Makefile.in b/gdb/testsuite/gdb.linespec/Makefile.in +new file mode 100644 +index 0000000..18eadbe +--- /dev/null ++++ b/gdb/testsuite/gdb.linespec/Makefile.in +@@ -0,0 +1,15 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = lspec ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core $(EXECUTABLES) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.mi/Makefile.in b/gdb/testsuite/gdb.mi/Makefile.in +new file mode 100644 +index 0000000..2ea819d +--- /dev/null ++++ b/gdb/testsuite/gdb.mi/Makefile.in +@@ -0,0 +1,30 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++PROGS = basics c_variable cpp_variable var-cmd dw2-ref-missing-frame \ ++ gdb669-pthreads gdb701 gdb792 mi-async mi-basics mi-break \ ++ mi-cli mi-console mi-disassemble mi-dprintf mi-eval mi-file \ ++ mi-file-transfer mi-non-stop mi-non-stop-exit \ ++ mi-ns-stale-regcache mi-nsintrall mi-nsmoribund mi-nsthrexec \ ++ mi-pending mi-pthreads mi-read-memory mi-regs mi-return \ ++ mi-reverse mi-simplerun mi-stack mi-stepi mi-syn-frame \ ++ mi-var-block mi-var-child mi-var-cmd mi-var-cp mi-var-display \ ++ mi-var-invalidate mi-var-invalidate_bis mi-watch \ ++ mi2-amd64-entry-value mi2-basics \ ++ mi2-break mi2-cli mi2-disassemble mi2-eval mi2-file \ ++ mi2-pthreads mi2-regs mi2-return mi2-simplerun mi2-stepi \ ++ mi2-var-block mi2-var-child mi2-var-cmd mi2-var-display \ ++ mi2-watch until ++ ++MISCELLANEOUS = mi-pendshr.sl mi-pendshr2.sl ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *.ci *.o $(OBJS) $(PROGS) *~ core ++ -rm -f *.dwo *.dwp ++ -rm -f $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.modula2/Makefile.in b/gdb/testsuite/gdb.modula2/Makefile.in +new file mode 100644 +index 0000000..39359fc +--- /dev/null ++++ b/gdb/testsuite/gdb.modula2/Makefile.in +@@ -0,0 +1,34 @@ ++# Makefile for regression testing the GNU debugger. ++# Copyright 2007-2016 Free Software Foundation, Inc. ++ ++# This file is part of GDB. ++ ++# GDB is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 3, or (at your option) ++# any later version. ++ ++# GDB is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++ ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ++ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = unbounded1 ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core ${EXECUTABLES} ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.multi/Makefile.in b/gdb/testsuite/gdb.multi/Makefile.in +new file mode 100644 +index 0000000..fe26bae +--- /dev/null ++++ b/gdb/testsuite/gdb.multi/Makefile.in +@@ -0,0 +1,15 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = hello hangout goodbye bkpt-multi-exec crashme ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core $(EXECUTABLES) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.objc/Makefile.in b/gdb/testsuite/gdb.objc/Makefile.in +new file mode 100644 +index 0000000..c9ed32b +--- /dev/null ++++ b/gdb/testsuite/gdb.objc/Makefile.in +@@ -0,0 +1,23 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = basicclass ++ ++all: ++ @echo "Nothing to be done for all..." ++ ++info: ++install-info: ++dvi: ++install: ++uninstall: force ++installcheck: ++check: ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core ${EXECUTABLES} ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.opencl/Makefile.in b/gdb/testsuite/gdb.opencl/Makefile.in +new file mode 100644 +index 0000000..decf413 +--- /dev/null ++++ b/gdb/testsuite/gdb.opencl/Makefile.in +@@ -0,0 +1,18 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = callfuncs datatypes vec_comps convs_casts operators ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out core corefile gcore.test ++ -rm -f *.dwo *.dwp ++ -rm -f $(EXECUTABLES) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.opt/Makefile.in b/gdb/testsuite/gdb.opt/Makefile.in +new file mode 100644 +index 0000000..76b305e +--- /dev/null ++++ b/gdb/testsuite/gdb.opt/Makefile.in +@@ -0,0 +1,25 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = clobbered-registers-O2 inline-bt inline-cmds inline-locals ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -find . -name '*.o' -print | xargs rm -f ++ -find . -name '*.ali' -print | xargs rm -f ++ -find . -name 'b~*.ad[sb]' -print | xargs rm -f ++ -rm -f *~ a.out xgdb *.x *.ci *.tmp ++ -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f $(MISCELLANEOUS) twice-tmp.c ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.pascal/Makefile.in b/gdb/testsuite/gdb.pascal/Makefile.in +new file mode 100644 +index 0000000..d9ad900 +--- /dev/null ++++ b/gdb/testsuite/gdb.pascal/Makefile.in +@@ -0,0 +1,25 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = hello/hello ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -find . -name '*.o' -print | xargs rm -f ++ -find . -name '*.ali' -print | xargs rm -f ++ -find . -name 'b~*.ad[sb]' -print | xargs rm -f ++ -rm -f *~ a.out xgdb *.x *.ci *.tmp ++ -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f $(MISCELLANEOUS) twice-tmp.c ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.perf/Makefile.in b/gdb/testsuite/gdb.perf/Makefile.in +new file mode 100644 +index 0000000..2071d12 +--- /dev/null ++++ b/gdb/testsuite/gdb.perf/Makefile.in +@@ -0,0 +1,15 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++.PHONY: all clean mostlyclean distclean realclean ++ ++PROGS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *.o *.diff *~ core $(PROGS) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.python/Makefile.in b/gdb/testsuite/gdb.python/Makefile.in +new file mode 100644 +index 0000000..0b81507 +--- /dev/null ++++ b/gdb/testsuite/gdb.python/Makefile.in +@@ -0,0 +1,22 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = py-type py-value py-prettyprint py-template py-block \ ++ py-symbol py-mi py-breakpoint py-inferior py-infthread \ ++ py-shared python lib-types py-events py-evthreads py-frame \ ++ py-mi py-pp-maint py-progspace py-section-script py-objfile \ ++ py-finish-breakpoint py-finish-breakpoint2 py-value-cc py-explore \ ++ py-explore-cc py-arch ++ ++MISCELLANEOUS = py-shared-sl.sl py-events-shlib.so py-events-shlib-nodebug.so ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o *.ci ++ -rm -f *.dwo *.dwp ++ -rm -f core $(EXECUTABLES) $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.reverse/Makefile.in b/gdb/testsuite/gdb.reverse/Makefile.in +new file mode 100644 +index 0000000..adaf7dd +--- /dev/null ++++ b/gdb/testsuite/gdb.reverse/Makefile.in +@@ -0,0 +1,21 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = break-reverse consecutive-reverse finish-reverse \ ++ i386-precsave i386-reverse i386-sse-reverse \ ++ machinestate solib-reverse step-reverse until-reverse \ ++ watch-reverse sigall-reverse sigall-precsave ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ rm -f *~ *.o *.x *.ci *.sl a.out core ++ rm -f *.dwo *.dwp ++ rm -f $(EXECUTABLES) $(MISCELLANEOUS) ++ ++distclean maintainer-clean realclean: clean ++ rm -f Makefile config.status config.log site.* gdb.log gdb.sum ++ +diff --git a/gdb/testsuite/gdb.server/Makefile.in b/gdb/testsuite/gdb.server/Makefile.in +new file mode 100644 +index 0000000..509fbd8 +--- /dev/null ++++ b/gdb/testsuite/gdb.server/Makefile.in +@@ -0,0 +1,26 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = ext-attach ext-run file-transfer server-mon server-run \ ++ no-thread-db ++ ++MISCELLANEOUS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -find . -name '*.o' -print | xargs rm -f ++ -find . -name '*.ali' -print | xargs rm -f ++ -find . -name 'b~*.ad[sb]' -print | xargs rm -f ++ -rm -f *~ a.out xgdb *.x *.ci *.tmp ++ -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp ++ -rm -f *.dwo *.dwp ++ -rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES) ++ -rm -f $(MISCELLANEOUS) twice-tmp.c ++ ++distclean maintainer-clean realclean: clean ++ -rm -f *~ core ++ -rm -f Makefile config.status config.log ++ -rm -f *-init.exp gdb.log gdb.sum ++ -rm -fr *.log summary detail *.plog *.sum *.psum site.* +diff --git a/gdb/testsuite/gdb.stabs/Makefile.in b/gdb/testsuite/gdb.stabs/Makefile.in +new file mode 100644 +index 0000000..f1a5913 +--- /dev/null ++++ b/gdb/testsuite/gdb.stabs/Makefile.in +@@ -0,0 +1,14 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++all: ++ @echo "Nothing to be done for all..." ++ ++#### host, target, and site specific Makefile frags come in here. ++ ++clean mostlyclean: ++ -rm -f *.o *~ core tmp.c tmp.s weird.s errs exclfwd gdb11479 ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.threads/Makefile.in b/gdb/testsuite/gdb.threads/Makefile.in +new file mode 100644 +index 0000000..8f9f867 +--- /dev/null ++++ b/gdb/testsuite/gdb.threads/Makefile.in +@@ -0,0 +1,25 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++EXECUTABLES = attach-into-signal-nothr attach-into-signal-thr \ ++ attach-stopped attachstop-mt \ ++ bp_in_thread current-lwp-dead execl execl1 fork-child-threads \ ++ fork-thread-pending gcore-pthreads hand-call-in-threads \ ++ ia64-sigill interrupted-hand-call killed linux-dp \ ++ local-watch-wrong-thread manythreads multi-create pending-step \ ++ print-threads pthreads pthread_cond_wait schedlock sigthread \ ++ staticthreads switch-threads thread-execl thread-specific \ ++ thread_check thread_events threadapply threxit-hop-specific \ ++ tls tls-main tls-nodebug watchthreads watchthreads-reorder \ ++ watchthreads2 ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *~ *.o a.out xgdb *.x *.ci *.tmp core core.* $(EXECUTABLES) \ ++ *.core gcore.test ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log config.h gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.trace/Makefile.in b/gdb/testsuite/gdb.trace/Makefile.in +new file mode 100644 +index 0000000..514beab +--- /dev/null ++++ b/gdb/testsuite/gdb.trace/Makefile.in +@@ -0,0 +1,19 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++.PHONY: all clean mostlyclean distclean realclean ++ ++PROGS = actions-changed ax backtrace deltrace disconnected-tracing \ ++ infotrace no-attach-trace packetlen passc-dyn passcount report \ ++ save-trace tfile tfind tracecmd tsv unavailable while-dyn while-stepping ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f actions circ collection ++ -rm -f *.o *.diff *~ *.bad core sh3 hppa mn10300 $(PROGS) ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile config.status config.log gdb.log gdb.sum +diff --git a/gdb/testsuite/gdb.xml/Makefile.in b/gdb/testsuite/gdb.xml/Makefile.in +new file mode 100644 +index 0000000..b8383ca +--- /dev/null ++++ b/gdb/testsuite/gdb.xml/Makefile.in +@@ -0,0 +1,14 @@ ++VPATH = @srcdir@ ++srcdir = @srcdir@ ++ ++PROGS = ++ ++all info install-info dvi install uninstall installcheck check: ++ @echo "Nothing to be done for $@..." ++ ++clean mostlyclean: ++ -rm -f *.ci *.o $(OBJS) $(PROGS) *~ core ++ -rm -f *.dwo *.dwp ++ ++distclean maintainer-clean realclean: clean ++ -rm -f Makefile gdb.log gdb.sum +diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp +index 1fb05c4..66821eb 100644 +--- a/gdb/testsuite/lib/gdb.exp ++++ b/gdb/testsuite/lib/gdb.exp +@@ -4317,7 +4317,7 @@ proc default_gdb_init { test_file_name } { + proc make_gdb_parallel_path { args } { + global GDB_PARALLEL objdir + set joiner [list "file" "join" $objdir] +- if { [info exists GDB_PARALLEL] && $GDB_PARALLEL != "yes" } { ++ if { $GDB_PARALLEL != "yes" } { + lappend joiner $GDB_PARALLEL + } + set joiner [concat $joiner $args] +@@ -4329,11 +4329,15 @@ proc make_gdb_parallel_path { args } { + # the directory is returned. + + proc standard_output_file {basename} { +- global objdir subdir gdb_test_file_name ++ global objdir subdir gdb_test_file_name GDB_PARALLEL + +- set dir [make_gdb_parallel_path outputs $subdir $gdb_test_file_name] +- file mkdir $dir +- return [file join $dir $basename] ++ if {[info exists GDB_PARALLEL]} { ++ set dir [make_gdb_parallel_path outputs $subdir $gdb_test_file_name] ++ file mkdir $dir ++ return [file join $dir $basename] ++ } else { ++ return [file join $objdir $subdir $basename] ++ } + } + + # Return the name of a file in our standard temporary directory. diff --git a/gdb.spec b/gdb.spec index dfae071..6a5c6eb 100644 --- a/gdb.spec +++ b/gdb.spec @@ -19,15 +19,15 @@ Summary: A GNU source-level debugger for C, C++, Fortran, Go and other languages Name: %{?scl_prefix}gdb # Freeze it when GDB gets branched -%global snapsrc 20160131 +%global snapsrc 20160211 # See timestamp of source gnulib installed into gdb/gnulib/ . %global snapgnulib 20150822 %global tarname gdb-%{version} -Version: 7.10.50.%{snapsrc} +Version: 7.10.90.%{snapsrc} # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. -Release: 51%{?dist} +Release: 52%{?dist} License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and BSD and Public Domain and GFDL Group: Development/Debuggers @@ -555,8 +555,14 @@ Patch1073: gdb-opcodes-clflushopt-test.patch # [testsuite] Fix false selftest.exp FAIL from system readline-6.3+ (Patrick Palka). Patch1075: gdb-testsuite-readline63-sigint.patch -# Fix false gcc6 compilation warning for: bfd/elf64-s390.c -Patch1076: gdb-bfd-s390-indent-warning.patch +# [testsuite] Revert testsuite rework into subdirectories. +Patch1077: gdb-testsuite-subdirs-revert.patch + +# [testsuite] Fix false Fortran regressions with recent gcc. +Patch1078: gdb-testsuite-fortran-gcc5.patch + +# [testsuite] Fix new set/show max-value-size regression. +Patch1079: gdb-testsuite-fortran-max-value-size.patch %if 0%{!?rhel:1} || 0%{?rhel} > 6 # RL_STATE_FEDORA_GDB would not be found for: @@ -753,6 +759,7 @@ find -name "*.info*"|xargs rm -f %patch2 -p1 #patch232 -p1 +%patch1077 -p1 %patch349 -p1 %patch1058 -p1 %patch1059 -p1 @@ -871,7 +878,8 @@ find -name "*.info*"|xargs rm -f %patch337 -p1 %patch331 -p1 %patch1075 -p1 -%patch1076 -p1 +%patch1078 -p1 +%patch1079 -p1 %if 0%{?rhel:1} && 0%{?rhel} <= 7 %patch1044 -p1 @@ -1389,7 +1397,10 @@ then fi %changelog -* Wed Feb 03 2016 Fedora Release Engineering - 7.10.50.20160131-51 +* Sat Feb 13 2016 Jan Kratochvil - 7.10.90.20160211-52.fc24 +- Rebase to FSF GDB 7.10.90.20160211 (pre-7.11 branch snapshot). + +* Wed Feb 03 2016 Fedora Release Engineering - 7.10.50.20160131-51.fc24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 31 2016 Jan Kratochvil - 7.10.50.20160131-50.fc24 diff --git a/sources b/sources index 7856176..df1e579 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 7ad32d3894aaf90d00a4343a735c3e1c gdb-libstdc++-v3-python-r225521.tar.xz -f82c87837ba288102ea43330b4a1fd3a gdb-7.10.50.20160131.tar.xz +4100cc635d1405d7b139091b9e0422f6 gdb-7.10.90.20160211.tar.xz