Rebase to FSF GDB 7.10.90.20160211 (pre-7.11 branch snapshot).
This commit is contained in:
parent
7759e5bf5e
commit
c4c35c27fd
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
@ -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@
|
||||
|
@ -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;
|
||||
}
|
@ -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.
|
||||
+
|
||||
|
@ -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"
|
||||
|
||||
|
123
gdb-testsuite-fortran-gcc5.patch
Normal file
123
gdb-testsuite-fortran-gcc5.patch
Normal file
@ -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 <jan.kratochvil@redhat.com>
|
||||
|
||||
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" " = <not allocated>" "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" " = <not allocated>" "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/--
|
||||
|
67
gdb-testsuite-fortran-max-value-size.patch
Normal file
67
gdb-testsuite-fortran-max-value-size.patch
Normal file
@ -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 <jan.kratochvil@redhat.com>
|
||||
|
||||
* 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--
|
||||
|
1202
gdb-testsuite-subdirs-revert.patch
Normal file
1202
gdb-testsuite-subdirs-revert.patch
Normal file
File diff suppressed because it is too large
Load Diff
25
gdb.spec
25
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 <releng@fedoraproject.org> - 7.10.50.20160131-51
|
||||
* Sat Feb 13 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 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 <releng@fedoraproject.org> - 7.10.50.20160131-51.fc24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Sun Jan 31 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.10.50.20160131-50.fc24
|
||||
|
Loading…
Reference in New Issue
Block a user