public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sergio Durigan Junior <sergiodj@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Improve generate-patches-from-git-repo.sh script
Date: Sat, 27 Jun 2026 23:58:37 GMT [thread overview]
Message-ID: <178260471729.1.6408533965406167115.rpms-gdb-b7dc57f2a9bf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : b7dc57f2a9bf70e2aa988f8d666efdfd4a485a56
Author : Sergio Durigan Junior <sergiodj@redhat.com>
Date : 2018-05-17T16:11:29-04:00
Stats : +2/-1697 in 129 file(s)
URL : https://src.fedoraproject.org/rpms/gdb/c/b7dc57f2a9bf70e2aa988f8d666efdfd4a485a56?branch=gdb-17.2-rebase-f44
Log:
Improve generate-patches-from-git-repo.sh script
This commit improves the script used to generate the patches from the
upstream git repo. Basically, it removes even more cruft that was
being added by 'git format-patch', making the output really simple and
deterministic (determinism which was a problem before).
Aside from the metadata, nothing else has been changed and therefore
it doesn't justify a new Fedora GDB release.
---
diff --git a/gdb-6.3-attach-see-vdso-test.patch b/gdb-6.3-attach-see-vdso-test.patch
index 247bc3e..ef27270 100644
--- a/gdb-6.3-attach-see-vdso-test.patch
+++ b/gdb-6.3-attach-see-vdso-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-6.3-attach-see-vdso-test.patch
;; Test kernel VDSO decoding while attaching to an i386 process.
;;=fedoratest
----
- gdb/testsuite/gdb.base/attach-see-vdso.c | 25 +++++++++++
- gdb/testsuite/gdb.base/attach-see-vdso.exp | 72 ++++++++++++++++++++++++++++++
- 2 files changed, 97 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/attach-see-vdso.c
- create mode 100644 gdb/testsuite/gdb.base/attach-see-vdso.exp
diff --git a/gdb/testsuite/gdb.base/attach-see-vdso.c b/gdb/testsuite/gdb.base/attach-see-vdso.c
new file mode 100644
-index 0000000000..cf3c7207a5
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-see-vdso.c
@@ -0,0 +1,25 @@
@@ -47,7 +40,6 @@ index 0000000000..cf3c7207a5
+}
diff --git a/gdb/testsuite/gdb.base/attach-see-vdso.exp b/gdb/testsuite/gdb.base/attach-see-vdso.exp
new file mode 100644
-index 0000000000..e8a538097e
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-see-vdso.exp
@@ -0,0 +1,72 @@
@@ -123,6 +115,3 @@ index 0000000000..e8a538097e
+# work.
+
+remote_exec build "kill -9 ${testpid}"
---
-2.14.3
-
diff --git a/gdb-6.3-bz140532-ppc-unwinding-test.patch b/gdb-6.3-bz140532-ppc-unwinding-test.patch
index 8feb281..c4b7105 100644
--- a/gdb-6.3-bz140532-ppc-unwinding-test.patch
+++ b/gdb-6.3-bz140532-ppc-unwinding-test.patch
@@ -7,21 +7,9 @@ FileName: gdb-6.3-bz140532-ppc-unwinding-test.patch
;; Update PPC unwinding patches to their upstream variants (BZ 140532).
;;=fedoratest
----
- .../gdb.arch/powerpc-bcl-prologue-asm32.S | 78 +++++++++++++++++
- .../gdb.arch/powerpc-bcl-prologue-asm64.S | 98 ++++++++++++++++++++++
- gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c | 29 +++++++
- gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp | 72 ++++++++++++++++
- gdb/testsuite/gdb.arch/powerpc-prologue.exp | 5 +-
- 5 files changed, 280 insertions(+), 2 deletions(-)
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S
new file mode 100644
-index 0000000000..1e4301af89
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S
@@ -0,0 +1,78 @@
@@ -105,7 +93,6 @@ index 0000000000..1e4301af89
+*/
diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S
new file mode 100644
-index 0000000000..1af5c19a16
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S
@@ -0,0 +1,98 @@
@@ -209,7 +196,6 @@ index 0000000000..1af5c19a16
+*/
diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
new file mode 100644
-index 0000000000..6b5bb08d0f
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
@@ -0,0 +1,29 @@
@@ -244,7 +230,6 @@ index 0000000000..6b5bb08d0f
+}
diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
new file mode 100644
-index 0000000000..5f50c4ef43
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
@@ -0,0 +1,72 @@
@@ -336,6 +321,3 @@ index 5251dfa9c3..f3933e2295 100644
verbose "Skipping PowerPC prologue tests."
return
}
---
-2.14.3
-
diff --git a/gdb-6.3-bz202689-exec-from-pthread-test.patch b/gdb-6.3-bz202689-exec-from-pthread-test.patch
index f95bd92..cbc2426 100644
--- a/gdb-6.3-bz202689-exec-from-pthread-test.patch
+++ b/gdb-6.3-bz202689-exec-from-pthread-test.patch
@@ -11,16 +11,9 @@ FileName: gdb-6.3-bz202689-exec-from-pthread-test.patch
2007-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/threaded-exec.exp, gdb.threads/threaded-exec.c: New files.
----
- gdb/testsuite/gdb.threads/threaded-exec.c | 46 +++++++++++++++++++++++++++++
- gdb/testsuite/gdb.threads/threaded-exec.exp | 41 +++++++++++++++++++++++++
- 2 files changed, 87 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/threaded-exec.c
- create mode 100644 gdb/testsuite/gdb.threads/threaded-exec.exp
diff --git a/gdb/testsuite/gdb.threads/threaded-exec.c b/gdb/testsuite/gdb.threads/threaded-exec.c
new file mode 100644
-index 0000000000..522b24671d
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/threaded-exec.c
@@ -0,0 +1,46 @@
@@ -72,7 +65,6 @@ index 0000000000..522b24671d
+}
diff --git a/gdb/testsuite/gdb.threads/threaded-exec.exp b/gdb/testsuite/gdb.threads/threaded-exec.exp
new file mode 100644
-index 0000000000..77c8a7dc85
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/threaded-exec.exp
@@ -0,0 +1,41 @@
@@ -117,6 +109,3 @@ index 0000000000..77c8a7dc85
+ pass "Program exited"
+ }
+}
---
-2.14.3
-
diff --git a/gdb-6.3-focus-cmd-prev-test.patch b/gdb-6.3-focus-cmd-prev-test.patch
index e1d3bdb..17c81a7 100644
--- a/gdb-6.3-focus-cmd-prev-test.patch
+++ b/gdb-6.3-focus-cmd-prev-test.patch
@@ -7,14 +7,9 @@ FileName: gdb-6.3-focus-cmd-prev-test.patch
;; Test a crash on `focus cmd', `focus prev' commands.
;;=fedoratest
----
- gdb/testsuite/gdb.base/focus-cmd-prev.exp | 40 +++++++++++++++++++++++++++++++
- 1 file changed, 40 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/focus-cmd-prev.exp
diff --git a/gdb/testsuite/gdb.base/focus-cmd-prev.exp b/gdb/testsuite/gdb.base/focus-cmd-prev.exp
new file mode 100644
-index 0000000000..d5a653f684
--- /dev/null
+++ b/gdb/testsuite/gdb.base/focus-cmd-prev.exp
@@ -0,0 +1,40 @@
@@ -58,6 +53,3 @@ index 0000000000..d5a653f684
+ pass $test
+ }
+}
---
-2.14.3
-
diff --git a/gdb-6.3-gstack-20050411.patch b/gdb-6.3-gstack-20050411.patch
index 3619504..95c72d9 100644
--- a/gdb-6.3-gstack-20050411.patch
+++ b/gdb-6.3-gstack-20050411.patch
@@ -14,15 +14,6 @@ FileName: gdb-6.3-gstack-20050411.patch
* Makefile.in (uninstall-gstack, install-gstack): New rules, add
to install and uninstall.
* gstack.sh, gstack.1: New files.
----
- gdb/Makefile.in | 34 ++++++++++++++++++--
- gdb/gstack.sh | 43 +++++++++++++++++++++++++
- gdb/testsuite/gdb.base/gstack.c | 43 +++++++++++++++++++++++++
- gdb/testsuite/gdb.base/gstack.exp | 66 +++++++++++++++++++++++++++++++++++++++
- 4 files changed, 184 insertions(+), 2 deletions(-)
- create mode 100644 gdb/gstack.sh
- create mode 100644 gdb/testsuite/gdb.base/gstack.c
- create mode 100644 gdb/testsuite/gdb.base/gstack.exp
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 17b71c6e7c..e77d6a5c03 100644
@@ -85,7 +76,6 @@ index 17b71c6e7c..e77d6a5c03 100644
$(COMPILE) -DTEST_CPNAMES cp-name-parser.c
diff --git a/gdb/gstack.sh b/gdb/gstack.sh
new file mode 100644
-index 0000000000..f7f07248f7
--- /dev/null
+++ b/gdb/gstack.sh
@@ -0,0 +1,43 @@
@@ -134,7 +124,6 @@ index 0000000000..f7f07248f7
+ -e '/^Thread/p'
diff --git a/gdb/testsuite/gdb.base/gstack.c b/gdb/testsuite/gdb.base/gstack.c
new file mode 100644
-index 0000000000..dc10813f04
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gstack.c
@@ -0,0 +1,43 @@
@@ -183,7 +172,6 @@ index 0000000000..dc10813f04
+}
diff --git a/gdb/testsuite/gdb.base/gstack.exp b/gdb/testsuite/gdb.base/gstack.exp
new file mode 100644
-index 0000000000..1186ec57bc
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gstack.exp
@@ -0,0 +1,66 @@
@@ -253,6 +241,3 @@ index 0000000000..1186ec57bc
+gdb_exit
+
+remote_exec host "kill -9 $pid"
---
-2.14.3
-
diff --git a/gdb-6.3-inferior-notification-20050721.patch b/gdb-6.3-inferior-notification-20050721.patch
index bb9a0d9..c37fe6e 100644
--- a/gdb-6.3-inferior-notification-20050721.patch
+++ b/gdb-6.3-inferior-notification-20050721.patch
@@ -18,18 +18,9 @@ FileName: gdb-6.3-inferior-notification-20050721.patch
2007-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach-32.exp: Fix forgotten $GDBFLAGS as set.
----
- gdb/testsuite/gdb.base/attach-32.c | 20 +++
- gdb/testsuite/gdb.base/attach-32.exp | 245 +++++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.base/attach-32b.c | 24 ++++
- 3 files changed, 289 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/attach-32.c
- create mode 100644 gdb/testsuite/gdb.base/attach-32.exp
- create mode 100644 gdb/testsuite/gdb.base/attach-32b.c
diff --git a/gdb/testsuite/gdb.base/attach-32.c b/gdb/testsuite/gdb.base/attach-32.c
new file mode 100644
-index 0000000000..0041b4732d
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-32.c
@@ -0,0 +1,20 @@
@@ -55,7 +46,6 @@ index 0000000000..0041b4732d
+}
diff --git a/gdb/testsuite/gdb.base/attach-32.exp b/gdb/testsuite/gdb.base/attach-32.exp
new file mode 100644
-index 0000000000..67ded02ccf
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-32.exp
@@ -0,0 +1,245 @@
@@ -306,7 +296,6 @@ index 0000000000..67ded02ccf
+return 0
diff --git a/gdb/testsuite/gdb.base/attach-32b.c b/gdb/testsuite/gdb.base/attach-32b.c
new file mode 100644
-index 0000000000..a78037ed38
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-32b.c
@@ -0,0 +1,24 @@
@@ -334,6 +323,3 @@ index 0000000000..a78037ed38
+ }
+ return (0);
+}
---
-2.14.3
-
diff --git a/gdb-6.3-inheritancetest-20050726.patch b/gdb-6.3-inheritancetest-20050726.patch
index 0d16bb8..73a4d72 100644
--- a/gdb-6.3-inheritancetest-20050726.patch
+++ b/gdb-6.3-inheritancetest-20050726.patch
@@ -14,20 +14,9 @@ FileName: gdb-6.3-inheritancetest-20050726.patch
* gdb.cp/b146835.cc: Ditto.
* gdb.cp/b146835b.cc: Ditto.
* gdb.cp/b146835.h: Ditto.
----
- gdb/testsuite/gdb.cp/b146835.cc | 32 +++++++++++++++++++++++++++
- gdb/testsuite/gdb.cp/b146835.exp | 47 ++++++++++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.cp/b146835.h | 36 ++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.cp/b146835b.cc | 11 ++++++++++
- 4 files changed, 126 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/b146835.cc
- create mode 100644 gdb/testsuite/gdb.cp/b146835.exp
- create mode 100644 gdb/testsuite/gdb.cp/b146835.h
- create mode 100644 gdb/testsuite/gdb.cp/b146835b.cc
diff --git a/gdb/testsuite/gdb.cp/b146835.cc b/gdb/testsuite/gdb.cp/b146835.cc
new file mode 100644
-index 0000000000..4161d523f5
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835.cc
@@ -0,0 +1,32 @@
@@ -65,7 +54,6 @@ index 0000000000..4161d523f5
+
diff --git a/gdb/testsuite/gdb.cp/b146835.exp b/gdb/testsuite/gdb.cp/b146835.exp
new file mode 100644
-index 0000000000..d03815bcff
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835.exp
@@ -0,0 +1,47 @@
@@ -118,7 +106,6 @@ index 0000000000..d03815bcff
+gdb_test "p d" " = \\(D \\*\\) *0x0" "Verify inherited member d accessible"
diff --git a/gdb/testsuite/gdb.cp/b146835.h b/gdb/testsuite/gdb.cp/b146835.h
new file mode 100644
-index 0000000000..48df7a2935
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835.h
@@ -0,0 +1,36 @@
@@ -160,7 +147,6 @@ index 0000000000..48df7a2935
+};
diff --git a/gdb/testsuite/gdb.cp/b146835b.cc b/gdb/testsuite/gdb.cp/b146835b.cc
new file mode 100644
-index 0000000000..1853c1fa38
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835b.cc
@@ -0,0 +1,11 @@
@@ -175,6 +161,3 @@ index 0000000000..1853c1fa38
+void A::funcD (class E *e, class D *d) {}
+void A::funcE (E *e, D *d) {}
+void A::funcF (unsigned long x, D *d) {}
---
-2.14.3
-
diff --git a/gdb-6.3-mapping-zero-inode-test.patch b/gdb-6.3-mapping-zero-inode-test.patch
index d52276b..900fa9a 100644
--- a/gdb-6.3-mapping-zero-inode-test.patch
+++ b/gdb-6.3-mapping-zero-inode-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-6.3-mapping-zero-inode-test.patch
;; Test GCORE for shmid 0 shared memory mappings.
;;=fedoratest: But it is broken anyway, sometimes the case being tested is not reproducible.
----
- gdb/testsuite/gdb.base/gcore-shmid0.c | 128 ++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.base/gcore-shmid0.exp | 101 +++++++++++++++++++++++++
- 2 files changed, 229 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/gcore-shmid0.c
- create mode 100644 gdb/testsuite/gdb.base/gcore-shmid0.exp
diff --git a/gdb/testsuite/gdb.base/gcore-shmid0.c b/gdb/testsuite/gdb.base/gcore-shmid0.c
new file mode 100644
-index 0000000000..bb9709a75c
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-shmid0.c
@@ -0,0 +1,128 @@
@@ -150,7 +143,6 @@ index 0000000000..bb9709a75c
+}
diff --git a/gdb/testsuite/gdb.base/gcore-shmid0.exp b/gdb/testsuite/gdb.base/gcore-shmid0.exp
new file mode 100644
-index 0000000000..b1fec682aa
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-shmid0.exp
@@ -0,0 +1,101 @@
@@ -255,6 +247,3 @@ index 0000000000..b1fec682aa
+ fail $test
+ }
+}
---
-2.14.3
-
diff --git a/gdb-6.3-ppc64displaysymbol-20041124.patch b/gdb-6.3-ppc64displaysymbol-20041124.patch
index 9dcb927..b39fb8c 100644
--- a/gdb-6.3-ppc64displaysymbol-20041124.patch
+++ b/gdb-6.3-ppc64displaysymbol-20041124.patch
@@ -13,9 +13,6 @@ FileName: gdb-6.3-ppc64displaysymbol-20041124.patch
* printcmd.c (build_address_symbolic): Find a section for the
address.
----
- gdb/printcmd.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 6256f35baa..c52e39f7fc 100644
@@ -36,6 +33,3 @@ index 6256f35baa..c52e39f7fc 100644
/* First try to find the address in the symbol table, then
in the minsyms. Take the closest one. */
---
-2.14.3
-
diff --git a/gdb-6.3-ppc64syscall-20040622.patch b/gdb-6.3-ppc64syscall-20040622.patch
index b77b888..8feaa0c 100644
--- a/gdb-6.3-ppc64syscall-20040622.patch
+++ b/gdb-6.3-ppc64syscall-20040622.patch
@@ -15,9 +15,6 @@ FileName: gdb-6.3-ppc64syscall-20040622.patch
"func_start". Add local variable "num_skip_linux_syscall_insn",
use to skip over first half of a GNU/Linux syscall and update
"func_start".
----
- gdb/rs6000-tdep.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
- 1 file changed, 54 insertions(+), 3 deletions(-)
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index e5a265dbcb..23d0db3b8f 100644
@@ -122,6 +119,3 @@ index e5a265dbcb..23d0db3b8f 100644
struct symtab_and_line this_sal = find_pc_line (pc, 0);
if ((prologue_sal.line == 0)
---
-2.14.3
-
diff --git a/gdb-6.3-readnever-20050907.patch b/gdb-6.3-readnever-20050907.patch
index 964bcf6..3d3a99f 100644
--- a/gdb-6.3-readnever-20050907.patch
+++ b/gdb-6.3-readnever-20050907.patch
@@ -22,9 +22,6 @@ FileName: gdb-6.3-readnever-20050907.patch
* gdb.texinfo (File Options): Document --readnever.
Pushed upstream: https://sourceware.org/ml/gdb-cvs/2017-12/msg00007.html
----
- gdb/gcore.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/gcore.in b/gdb/gcore.in
index b7f57cd341..c7e0dec574 100644
@@ -39,6 +36,3 @@ index b7f57cd341..c7e0dec574 100644
-ex "set pagination off" -ex "set height 0" -ex "set width 0" \
"${dump_all_cmds[@]}" \
-ex "attach $pid" -ex "gcore $name.$pid" -ex detach -ex quit
---
-2.14.3
-
diff --git a/gdb-6.3-rh-testversion-20041202.patch b/gdb-6.3-rh-testversion-20041202.patch
index 72ce7a5..063e37c 100644
--- a/gdb-6.3-rh-testversion-20041202.patch
+++ b/gdb-6.3-rh-testversion-20041202.patch
@@ -13,9 +13,6 @@ FileName: gdb-6.3-rh-testversion-20041202.patch
* gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
string.
----
- gdb/testsuite/gdb.gdb/selftest.exp | 3 +++
- 1 file changed, 3 insertions(+)
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 20f34983ef..4108e088a9 100644
@@ -31,6 +28,3 @@ index 20f34983ef..4108e088a9 100644
}
# start the "xgdb" process
---
-2.14.3
-
diff --git a/gdb-6.3-test-dtorfix-20050121.patch b/gdb-6.3-test-dtorfix-20050121.patch
index 5b6138e..89334e4 100644
--- a/gdb-6.3-test-dtorfix-20050121.patch
+++ b/gdb-6.3-test-dtorfix-20050121.patch
@@ -7,16 +7,9 @@ FileName: gdb-6.3-test-dtorfix-20050121.patch
;; Test support of multiple destructors just like multiple constructors
;;=fedoratest
----
- gdb/testsuite/gdb.cp/constructortest.cc | 99 +++++++++++++++++++++++
- gdb/testsuite/gdb.cp/constructortest.exp | 130 +++++++++++++++++++++++++++++++
- 2 files changed, 229 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/constructortest.cc
- create mode 100644 gdb/testsuite/gdb.cp/constructortest.exp
diff --git a/gdb/testsuite/gdb.cp/constructortest.cc b/gdb/testsuite/gdb.cp/constructortest.cc
new file mode 100644
-index 0000000000..9ac8793e50
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/constructortest.cc
@@ -0,0 +1,99 @@
@@ -121,7 +114,6 @@ index 0000000000..9ac8793e50
+}
diff --git a/gdb/testsuite/gdb.cp/constructortest.exp b/gdb/testsuite/gdb.cp/constructortest.exp
new file mode 100644
-index 0000000000..341f6c99ad
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/constructortest.exp
@@ -0,0 +1,130 @@
@@ -255,6 +247,3 @@ index 0000000000..341f6c99ad
+}
+
+gdb_continue_to_breakpoint "First line ~C"
---
-2.14.3
-
diff --git a/gdb-6.3-test-movedir-20050125.patch b/gdb-6.3-test-movedir-20050125.patch
index f9ad07d..68767a4 100644
--- a/gdb-6.3-test-movedir-20050125.patch
+++ b/gdb-6.3-test-movedir-20050125.patch
@@ -13,18 +13,9 @@ FileName: gdb-6.3-test-movedir-20050125.patch
* gdb.base/move-dir.exp: New test.
* gdb.base/move-dir.c: Ditto.
* gdb.base/move-dir.h: Ditto.
----
- gdb/testsuite/gdb.base/move-dir.c | 10 +++++++
- gdb/testsuite/gdb.base/move-dir.exp | 57 +++++++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.base/move-dir.h | 7 +++++
- 3 files changed, 74 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/move-dir.c
- create mode 100644 gdb/testsuite/gdb.base/move-dir.exp
- create mode 100644 gdb/testsuite/gdb.base/move-dir.h
diff --git a/gdb/testsuite/gdb.base/move-dir.c b/gdb/testsuite/gdb.base/move-dir.c
new file mode 100644
-index 0000000000..89b65b4b6a
--- /dev/null
+++ b/gdb/testsuite/gdb.base/move-dir.c
@@ -0,0 +1,10 @@
@@ -40,7 +31,6 @@ index 0000000000..89b65b4b6a
+
diff --git a/gdb/testsuite/gdb.base/move-dir.exp b/gdb/testsuite/gdb.base/move-dir.exp
new file mode 100644
-index 0000000000..f189ea77b9
--- /dev/null
+++ b/gdb/testsuite/gdb.base/move-dir.exp
@@ -0,0 +1,57 @@
@@ -103,7 +93,6 @@ index 0000000000..f189ea77b9
+return 0
diff --git a/gdb/testsuite/gdb.base/move-dir.h b/gdb/testsuite/gdb.base/move-dir.h
new file mode 100644
-index 0000000000..4a99725a00
--- /dev/null
+++ b/gdb/testsuite/gdb.base/move-dir.h
@@ -0,0 +1,7 @@
@@ -114,6 +103,3 @@ index 0000000000..4a99725a00
+ printf ("%s\n", ostring);;
+}
+
---
-2.14.3
-
diff --git a/gdb-6.3-test-pie-20050107.patch b/gdb-6.3-test-pie-20050107.patch
index e2663df..47f58c6 100644
--- a/gdb-6.3-test-pie-20050107.patch
+++ b/gdb-6.3-test-pie-20050107.patch
@@ -7,28 +7,9 @@ FileName: gdb-6.3-test-pie-20050107.patch
;; VSYSCALL and PIE
;;=fedoratest
----
- gdb/testsuite/gdb.pie/attach.c | 20 +
- gdb/testsuite/gdb.pie/attach.exp | 416 ++++++++++++++++
- gdb/testsuite/gdb.pie/attach2.c | 24 +
- gdb/testsuite/gdb.pie/break.c | 146 ++++++
- gdb/testsuite/gdb.pie/break.exp | 954 +++++++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.pie/break1.c | 44 ++
- gdb/testsuite/gdb.pie/corefile.exp | 233 +++++++++
- gdb/testsuite/gdb.pie/coremaker.c | 142 ++++++
- 8 files changed, 1979 insertions(+)
- create mode 100644 gdb/testsuite/gdb.pie/attach.c
- create mode 100644 gdb/testsuite/gdb.pie/attach.exp
- create mode 100644 gdb/testsuite/gdb.pie/attach2.c
- create mode 100644 gdb/testsuite/gdb.pie/break.c
- create mode 100644 gdb/testsuite/gdb.pie/break.exp
- create mode 100644 gdb/testsuite/gdb.pie/break1.c
- create mode 100644 gdb/testsuite/gdb.pie/corefile.exp
- create mode 100644 gdb/testsuite/gdb.pie/coremaker.c
diff --git a/gdb/testsuite/gdb.pie/attach.c b/gdb/testsuite/gdb.pie/attach.c
new file mode 100644
-index 0000000000..0041b4732d
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/attach.c
@@ -0,0 +1,20 @@
@@ -54,7 +35,6 @@ index 0000000000..0041b4732d
+}
diff --git a/gdb/testsuite/gdb.pie/attach.exp b/gdb/testsuite/gdb.pie/attach.exp
new file mode 100644
-index 0000000000..648c92608c
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/attach.exp
@@ -0,0 +1,416 @@
@@ -476,7 +456,6 @@ index 0000000000..648c92608c
+return 0
diff --git a/gdb/testsuite/gdb.pie/attach2.c b/gdb/testsuite/gdb.pie/attach2.c
new file mode 100644
-index 0000000000..a78037ed38
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/attach2.c
@@ -0,0 +1,24 @@
@@ -506,7 +485,6 @@ index 0000000000..a78037ed38
+}
diff --git a/gdb/testsuite/gdb.pie/break.c b/gdb/testsuite/gdb.pie/break.c
new file mode 100644
-index 0000000000..bf398fcca9
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/break.c
@@ -0,0 +1,146 @@
@@ -658,7 +636,6 @@ index 0000000000..bf398fcca9
+}
diff --git a/gdb/testsuite/gdb.pie/break.exp b/gdb/testsuite/gdb.pie/break.exp
new file mode 100644
-index 0000000000..97b87397c2
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/break.exp
@@ -0,0 +1,954 @@
@@ -1618,7 +1595,6 @@ index 0000000000..97b87397c2
+}
diff --git a/gdb/testsuite/gdb.pie/break1.c b/gdb/testsuite/gdb.pie/break1.c
new file mode 100644
-index 0000000000..2ed8b2a4a0
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/break1.c
@@ -0,0 +1,44 @@
@@ -1668,7 +1644,6 @@ index 0000000000..2ed8b2a4a0
+#endif
diff --git a/gdb/testsuite/gdb.pie/corefile.exp b/gdb/testsuite/gdb.pie/corefile.exp
new file mode 100644
-index 0000000000..ca4b01be3e
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/corefile.exp
@@ -0,0 +1,233 @@
@@ -1907,7 +1882,6 @@ index 0000000000..ca4b01be3e
+gdb_test "core" "No core file now."
diff --git a/gdb/testsuite/gdb.pie/coremaker.c b/gdb/testsuite/gdb.pie/coremaker.c
new file mode 100644
-index 0000000000..a7fbd94141
--- /dev/null
+++ b/gdb/testsuite/gdb.pie/coremaker.c
@@ -0,0 +1,142 @@
@@ -2053,6 +2027,3 @@ index 0000000000..a7fbd94141
+ return 0;
+}
+
---
-2.14.3
-
diff --git a/gdb-6.3-test-self-20050110.patch b/gdb-6.3-test-self-20050110.patch
index c38bc4d..41dff40 100644
--- a/gdb-6.3-test-self-20050110.patch
+++ b/gdb-6.3-test-self-20050110.patch
@@ -15,9 +15,6 @@ FileName: gdb-6.3-test-self-20050110.patch
* gdb.gdb/complaints.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto.
* gdb.gdb/observer.exp: Ditto.
----
- gdb/testsuite/lib/selftest-support.exp | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdb/testsuite/lib/selftest-support.exp b/gdb/testsuite/lib/selftest-support.exp
index 89e2e3f4ef..ea027a6f7d 100644
@@ -46,6 +43,3 @@ index 89e2e3f4ef..ea027a6f7d 100644
if {$result < 0} then {
warning "Couldn't test self"
---
-2.14.3
-
diff --git a/gdb-6.3-threaded-watchpoints2-20050225.patch b/gdb-6.3-threaded-watchpoints2-20050225.patch
index 459fe35..2f54e80 100644
--- a/gdb-6.3-threaded-watchpoints2-20050225.patch
+++ b/gdb-6.3-threaded-watchpoints2-20050225.patch
@@ -51,16 +51,9 @@ FileName: gdb-6.3-threaded-watchpoints2-20050225.patch
testcase of the same name. ]
FIXME: The testcase does not expects multiple watchpoints hits per one stop.
----
- gdb/testsuite/gdb.threads/watchthreads-threaded.c | 66 +++++++++++
- .../gdb.threads/watchthreads-threaded.exp | 126 +++++++++++++++++++++
- 2 files changed, 192 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/watchthreads-threaded.c
- create mode 100644 gdb/testsuite/gdb.threads/watchthreads-threaded.exp
diff --git a/gdb/testsuite/gdb.threads/watchthreads-threaded.c b/gdb/testsuite/gdb.threads/watchthreads-threaded.c
new file mode 100644
-index 0000000000..1402640ccf
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/watchthreads-threaded.c
@@ -0,0 +1,66 @@
@@ -132,7 +125,6 @@ index 0000000000..1402640ccf
+
diff --git a/gdb/testsuite/gdb.threads/watchthreads-threaded.exp b/gdb/testsuite/gdb.threads/watchthreads-threaded.exp
new file mode 100644
-index 0000000000..e9cdd59771
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/watchthreads-threaded.exp
@@ -0,0 +1,126 @@
@@ -262,6 +254,3 @@ index 0000000000..e9cdd59771
+} else {
+ fail $message
+}
---
-2.14.3
-
diff --git a/gdb-6.5-BEA-testsuite.patch b/gdb-6.5-BEA-testsuite.patch
index 1aa78db..dda9b27 100644
--- a/gdb-6.5-BEA-testsuite.patch
+++ b/gdb-6.5-BEA-testsuite.patch
@@ -7,20 +7,9 @@ FileName: gdb-6.5-BEA-testsuite.patch
;; Improved testsuite results by the testsuite provided by the courtesy of BEA.
;;=fedoratest: For upstream it should be rewritten as a dejagnu test, the test of no "??" was useful.
----
- gdb/testsuite/gdb.threads/threadcrash.c | 301 ++++++++++++++++++++++++
- gdb/testsuite/gdb.threads/threadcrash.exp | 37 +++
- gdb/testsuite/gdb.threads/threadcrash.sh | 324 ++++++++++++++++++++++++++
- gdb/testsuite/gdb.threads/threadcrash.sh-orig | 248 ++++++++++++++++++++
- 4 files changed, 910 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/threadcrash.c
- create mode 100644 gdb/testsuite/gdb.threads/threadcrash.exp
- create mode 100644 gdb/testsuite/gdb.threads/threadcrash.sh
- create mode 100644 gdb/testsuite/gdb.threads/threadcrash.sh-orig
diff --git a/gdb/testsuite/gdb.threads/threadcrash.c b/gdb/testsuite/gdb.threads/threadcrash.c
new file mode 100644
-index 0000000000..80c599d0fb
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.c
@@ -0,0 +1,301 @@
@@ -327,7 +316,6 @@ index 0000000000..80c599d0fb
+}
diff --git a/gdb/testsuite/gdb.threads/threadcrash.exp b/gdb/testsuite/gdb.threads/threadcrash.exp
new file mode 100644
-index 0000000000..af6b919f58
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.exp
@@ -0,0 +1,37 @@
@@ -370,7 +358,6 @@ index 0000000000..af6b919f58
+return 0
diff --git a/gdb/testsuite/gdb.threads/threadcrash.sh b/gdb/testsuite/gdb.threads/threadcrash.sh
new file mode 100644
-index 0000000000..7f7e6520d6
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.sh
@@ -0,0 +1,324 @@
@@ -700,7 +687,6 @@ index 0000000000..7f7e6520d6
+exit $FAILURES
diff --git a/gdb/testsuite/gdb.threads/threadcrash.sh-orig b/gdb/testsuite/gdb.threads/threadcrash.sh-orig
new file mode 100644
-index 0000000000..eb602036c2
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.sh-orig
@@ -0,0 +1,248 @@
@@ -952,6 +938,3 @@ index 0000000000..eb602036c2
+rm -rf $WORKDIR
+
+exit $FAILURES
---
-2.14.3
-
diff --git a/gdb-6.5-bz109921-DW_AT_decl_file-test.patch b/gdb-6.5-bz109921-DW_AT_decl_file-test.patch
index 04d743b..3d3a55f 100644
--- a/gdb-6.5-bz109921-DW_AT_decl_file-test.patch
+++ b/gdb-6.5-bz109921-DW_AT_decl_file-test.patch
@@ -25,18 +25,9 @@ http://sourceware.org/ml/gdb-patches/2007-01/msg00434.html
* gdb.dwarf2/dw2-included.exp, gdb.dwarf2/dw2-included.c,
gdb.dwarf2/dw2-included.h: New files.
----
- gdb/testsuite/gdb.dwarf2/dw2-included.c | 26 +++++++++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-included.exp | 47 +++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-included.h | 20 +++++++++++++
- 3 files changed, 93 insertions(+)
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-included.c
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-included.exp
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-included.h
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-included.c b/gdb/testsuite/gdb.dwarf2/dw2-included.c
new file mode 100644
-index 0000000000..28e54fb932
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-included.c
@@ -0,0 +1,26 @@
@@ -68,7 +59,6 @@ index 0000000000..28e54fb932
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-included.exp b/gdb/testsuite/gdb.dwarf2/dw2-included.exp
new file mode 100644
-index 0000000000..9aaf8e9772
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-included.exp
@@ -0,0 +1,47 @@
@@ -121,7 +111,6 @@ index 0000000000..9aaf8e9772
+gdb_test "info variables integer" "\r\nFile \[^\r\n\]*/gdb.dwarf2/dw2-included.h:\r\nint integer;\r"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-included.h b/gdb/testsuite/gdb.dwarf2/dw2-included.h
new file mode 100644
-index 0000000000..f31348ab4f
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-included.h
@@ -0,0 +1,20 @@
@@ -145,6 +134,3 @@ index 0000000000..f31348ab4f
+ USA. */
+
+int integer;
---
-2.14.3
-
diff --git a/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch b/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
index b00b3d0..8941dab 100644
--- a/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
+++ b/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
@@ -42,17 +42,6 @@ https://bugzilla.redhat.com/show_bug.cgi?id=1166549
glibc-debuginfo-2.7-2.x86_64: /usr/lib/debug/lib64/libc.so.6.debug:
<81a2> DW_AT_name : (indirect string, offset: 0x280e): __errno_location
<81a8> DW_AT_MIPS_linkage_name: (indirect string, offset: 0x2808): *__GI___errno_location
----
- gdb/printcmd.c | 4 ++
- gdb/testsuite/gdb.dwarf2/dw2-errno.c | 28 +++++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-errno.exp | 60 ++++++++++++++++++++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-errno2.c | 28 +++++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-errno2.exp | 71 +++++++++++++++++++++++++++++++++
- 5 files changed, 191 insertions(+)
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-errno.c
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-errno.exp
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-errno2.c
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-errno2.exp
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index c52e39f7fc..ad80b1bebf 100644
@@ -71,7 +60,6 @@ index c52e39f7fc..ad80b1bebf 100644
}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno.c b/gdb/testsuite/gdb.dwarf2/dw2-errno.c
new file mode 100644
-index 0000000000..7bd10d0978
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno.c
@@ -0,0 +1,28 @@
@@ -105,7 +93,6 @@ index 0000000000..7bd10d0978
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno.exp b/gdb/testsuite/gdb.dwarf2/dw2-errno.exp
new file mode 100644
-index 0000000000..1f13cc1323
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno.exp
@@ -0,0 +1,60 @@
@@ -171,7 +158,6 @@ index 0000000000..1f13cc1323
+# Just how to find the current libc filename?
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno2.c b/gdb/testsuite/gdb.dwarf2/dw2-errno2.c
new file mode 100644
-index 0000000000..7bd10d0978
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno2.c
@@ -0,0 +1,28 @@
@@ -205,7 +191,6 @@ index 0000000000..7bd10d0978
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp b/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp
new file mode 100644
-index 0000000000..0f6e66870b
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp
@@ -0,0 +1,71 @@
@@ -280,6 +265,3 @@ index 0000000000..0f6e66870b
+
+# TODO: Test the error on resolving ERRNO with only libc loaded.
+# Just how to find the current libc filename?
---
-2.14.3
-
diff --git a/gdb-6.5-bz203661-emit-relocs.patch b/gdb-6.5-bz203661-emit-relocs.patch
index 56107b2..df02401 100644
--- a/gdb-6.5-bz203661-emit-relocs.patch
+++ b/gdb-6.5-bz203661-emit-relocs.patch
@@ -7,9 +7,6 @@ FileName: gdb-6.5-bz203661-emit-relocs.patch
;; Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661).
;;=push+jan: There was some mail thread about it, this patch may be a hack.
----
- gdb/symfile.c | 6 ++++++
- 1 file changed, 6 insertions(+)
diff --git a/gdb/symfile.c b/gdb/symfile.c
index f7f75b05d3..7cda615e74 100644
@@ -28,6 +25,3 @@ index f7f75b05d3..7cda615e74 100644
/* We're only interested in sections with relocation
information. */
if ((sectp->flags & SEC_RELOC) == 0)
---
-2.14.3
-
diff --git a/gdb-6.5-bz216711-clone-is-outermost.patch b/gdb-6.5-bz216711-clone-is-outermost.patch
index d4fb116..f238022 100644
--- a/gdb-6.5-bz216711-clone-is-outermost.patch
+++ b/gdb-6.5-bz216711-clone-is-outermost.patch
@@ -32,16 +32,6 @@ instead.
2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
Port to GDB-6.7.
----
- gdb/amd64-linux-tdep.c | 76 +++++++++++++++++++++++++++++
- gdb/amd64-tdep.c | 11 +++++
- gdb/i386-tdep.c | 3 ++
- gdb/i386-tdep.h | 3 ++
- gdb/testsuite/gdb.threads/bt-clone-stop.c | 39 +++++++++++++++
- gdb/testsuite/gdb.threads/bt-clone-stop.exp | 61 +++++++++++++++++++++++
- 6 files changed, 193 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/bt-clone-stop.c
- create mode 100644 gdb/testsuite/gdb.threads/bt-clone-stop.exp
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 2bd3d31b75..2623bae42d 100644
@@ -210,7 +200,6 @@ index a71c103a88..5ee336b8cb 100644
/* Floating-point registers. */
diff --git a/gdb/testsuite/gdb.threads/bt-clone-stop.c b/gdb/testsuite/gdb.threads/bt-clone-stop.c
new file mode 100644
-index 0000000000..2ac93f8664
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/bt-clone-stop.c
@@ -0,0 +1,39 @@
@@ -255,7 +244,6 @@ index 0000000000..2ac93f8664
+}
diff --git a/gdb/testsuite/gdb.threads/bt-clone-stop.exp b/gdb/testsuite/gdb.threads/bt-clone-stop.exp
new file mode 100644
-index 0000000000..02728e05b9
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/bt-clone-stop.exp
@@ -0,0 +1,61 @@
@@ -320,6 +308,3 @@ index 0000000000..02728e05b9
+ pass "0x0 entry not found"
+ }
+}
---
-2.14.3
-
diff --git a/gdb-6.5-bz218379-ppc-solib-trampoline-test.patch b/gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
index c715bb4..abc0a0d 100644
--- a/gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
+++ b/gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
@@ -9,16 +9,9 @@ FileName: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
;;=fedoratest
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379
----
- gdb/testsuite/gdb.base/step-over-trampoline.c | 28 +++++++++++++
- gdb/testsuite/gdb.base/step-over-trampoline.exp | 54 +++++++++++++++++++++++++
- 2 files changed, 82 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/step-over-trampoline.c
- create mode 100644 gdb/testsuite/gdb.base/step-over-trampoline.exp
diff --git a/gdb/testsuite/gdb.base/step-over-trampoline.c b/gdb/testsuite/gdb.base/step-over-trampoline.c
new file mode 100644
-index 0000000000..a012da1031
--- /dev/null
+++ b/gdb/testsuite/gdb.base/step-over-trampoline.c
@@ -0,0 +1,28 @@
@@ -52,7 +45,6 @@ index 0000000000..a012da1031
+}
diff --git a/gdb/testsuite/gdb.base/step-over-trampoline.exp b/gdb/testsuite/gdb.base/step-over-trampoline.exp
new file mode 100644
-index 0000000000..a183e36263
--- /dev/null
+++ b/gdb/testsuite/gdb.base/step-over-trampoline.exp
@@ -0,0 +1,54 @@
@@ -110,6 +102,3 @@ index 0000000000..a183e36263
+ fail "stepped into trampoline"
+ }
+}
---
-2.14.3
-
diff --git a/gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch b/gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
index 2d34549..75eac7a 100644
--- a/gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
+++ b/gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
@@ -9,9 +9,6 @@ FileName: gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
;;=fedora
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379
----
- gdb/symtab.c | 7 +++++++
- 1 file changed, 7 insertions(+)
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 81f4fc9ec5..a7e8431cfe 100644
@@ -31,6 +28,3 @@ index 81f4fc9ec5..a7e8431cfe 100644
else
return find_pc_line (BMSYMBOL_VALUE_ADDRESS (mfunsym), 0);
}
---
-2.14.3
-
diff --git a/gdb-6.5-bz243845-stale-testing-zombie-test.patch b/gdb-6.5-bz243845-stale-testing-zombie-test.patch
index 80f27c4..ae32cff 100644
--- a/gdb-6.5-bz243845-stale-testing-zombie-test.patch
+++ b/gdb-6.5-bz243845-stale-testing-zombie-test.patch
@@ -7,14 +7,9 @@ FileName: gdb-6.5-bz243845-stale-testing-zombie-test.patch
;; Test leftover zombie process (BZ 243845).
;;=fedoratest
----
- gdb/testsuite/gdb.base/tracefork-zombie.exp | 75 +++++++++++++++++++++++++++++
- 1 file changed, 75 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/tracefork-zombie.exp
diff --git a/gdb/testsuite/gdb.base/tracefork-zombie.exp b/gdb/testsuite/gdb.base/tracefork-zombie.exp
new file mode 100644
-index 0000000000..5807040840
--- /dev/null
+++ b/gdb/testsuite/gdb.base/tracefork-zombie.exp
@@ -0,0 +1,75 @@
@@ -93,6 +88,3 @@ index 0000000000..5807040840
+} else {
+ fail $test
+}
---
-2.14.3
-
diff --git a/gdb-6.5-gcore-buffer-limit-test.patch b/gdb-6.5-gcore-buffer-limit-test.patch
index cd88e9f..59fc108 100644
--- a/gdb-6.5-gcore-buffer-limit-test.patch
+++ b/gdb-6.5-gcore-buffer-limit-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-6.5-gcore-buffer-limit-test.patch
;; Test gcore memory and time requirements for large inferiors.
;;=fedoratest
----
- gdb/testsuite/gdb.base/gcore-excessive-memory.c | 37 +++++++++
- gdb/testsuite/gdb.base/gcore-excessive-memory.exp | 94 +++++++++++++++++++++++
- 2 files changed, 131 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/gcore-excessive-memory.c
- create mode 100644 gdb/testsuite/gdb.base/gcore-excessive-memory.exp
diff --git a/gdb/testsuite/gdb.base/gcore-excessive-memory.c b/gdb/testsuite/gdb.base/gcore-excessive-memory.c
new file mode 100644
-index 0000000000..56b4d3a63a
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-excessive-memory.c
@@ -0,0 +1,37 @@
@@ -59,7 +52,6 @@ index 0000000000..56b4d3a63a
+}
diff --git a/gdb/testsuite/gdb.base/gcore-excessive-memory.exp b/gdb/testsuite/gdb.base/gcore-excessive-memory.exp
new file mode 100644
-index 0000000000..4e71b5534e
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-excessive-memory.exp
@@ -0,0 +1,94 @@
@@ -157,6 +149,3 @@ index 0000000000..4e71b5534e
+
+# Cleanup.
+exec kill -9 $pid_of_bin
---
-2.14.3
-
diff --git a/gdb-6.5-ia64-libunwind-leak-test.patch b/gdb-6.5-ia64-libunwind-leak-test.patch
index c255711..51190cb 100644
--- a/gdb-6.5-ia64-libunwind-leak-test.patch
+++ b/gdb-6.5-ia64-libunwind-leak-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-6.5-ia64-libunwind-leak-test.patch
;; Test ia64 memory leaks of the code using libunwind.
;;=fedoratest
----
- gdb/testsuite/gdb.base/unwind-leak.c | 29 ++++++++++++
- gdb/testsuite/gdb.base/unwind-leak.exp | 83 ++++++++++++++++++++++++++++++++++
- 2 files changed, 112 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/unwind-leak.c
- create mode 100644 gdb/testsuite/gdb.base/unwind-leak.exp
diff --git a/gdb/testsuite/gdb.base/unwind-leak.c b/gdb/testsuite/gdb.base/unwind-leak.c
new file mode 100644
-index 0000000000..58e34fb264
--- /dev/null
+++ b/gdb/testsuite/gdb.base/unwind-leak.c
@@ -0,0 +1,29 @@
@@ -51,7 +44,6 @@ index 0000000000..58e34fb264
+}
diff --git a/gdb/testsuite/gdb.base/unwind-leak.exp b/gdb/testsuite/gdb.base/unwind-leak.exp
new file mode 100644
-index 0000000000..098962a57c
--- /dev/null
+++ b/gdb/testsuite/gdb.base/unwind-leak.exp
@@ -0,0 +1,83 @@
@@ -138,6 +130,3 @@ index 0000000000..098962a57c
+ fail $test
+ }
+}
---
-2.14.3
-
diff --git a/gdb-6.5-last-address-space-byte-test.patch b/gdb-6.5-last-address-space-byte-test.patch
index ce6a241..dce58d8 100644
--- a/gdb-6.5-last-address-space-byte-test.patch
+++ b/gdb-6.5-last-address-space-byte-test.patch
@@ -7,14 +7,9 @@ FileName: gdb-6.5-last-address-space-byte-test.patch
;; Testcase for deadlocking on last address space byte; for corrupted backtraces.
;;=fedoratest
----
- .../gdb.base/largecore-last-address-lock.exp | 49 ++++++++++++++++++++++
- 1 file changed, 49 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/largecore-last-address-lock.exp
diff --git a/gdb/testsuite/gdb.base/largecore-last-address-lock.exp b/gdb/testsuite/gdb.base/largecore-last-address-lock.exp
new file mode 100644
-index 0000000000..8a597e9b15
--- /dev/null
+++ b/gdb/testsuite/gdb.base/largecore-last-address-lock.exp
@@ -0,0 +1,49 @@
@@ -67,6 +62,3 @@ index 0000000000..8a597e9b15
+ "Read the last address space byte"
+
+set timeout ${timeoutold}
---
-2.14.3
-
diff --git a/gdb-6.5-missed-trap-on-step-test.patch b/gdb-6.5-missed-trap-on-step-test.patch
index ba753a1..bf1873c 100644
--- a/gdb-6.5-missed-trap-on-step-test.patch
+++ b/gdb-6.5-missed-trap-on-step-test.patch
@@ -10,16 +10,9 @@ FileName: gdb-6.5-missed-trap-on-step-test.patch
Fix has been committed to:
gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch
----
- gdb/testsuite/gdb.base/watchpoint-during-step.c | 30 ++++++++++++++++
- gdb/testsuite/gdb.base/watchpoint-during-step.exp | 44 +++++++++++++++++++++++
- 2 files changed, 74 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-during-step.c
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-during-step.exp
diff --git a/gdb/testsuite/gdb.base/watchpoint-during-step.c b/gdb/testsuite/gdb.base/watchpoint-during-step.c
new file mode 100644
-index 0000000000..107eae45a0
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-during-step.c
@@ -0,0 +1,30 @@
@@ -55,7 +48,6 @@ index 0000000000..107eae45a0
+}
diff --git a/gdb/testsuite/gdb.base/watchpoint-during-step.exp b/gdb/testsuite/gdb.base/watchpoint-during-step.exp
new file mode 100644
-index 0000000000..12ba99f1a9
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-during-step.exp
@@ -0,0 +1,44 @@
@@ -103,6 +95,3 @@ index 0000000000..12ba99f1a9
+# we step from as in this case it is a valid upstream KFAIL gdb/38
+
+gdb_test "step" ".*Old value = 2.*New value = 3.*" "Catch the watchpoint"
---
-2.14.3
-
diff --git a/gdb-6.5-readline-long-line-crash-test.patch b/gdb-6.5-readline-long-line-crash-test.patch
index 7034ea6..1dd87d0 100644
--- a/gdb-6.5-readline-long-line-crash-test.patch
+++ b/gdb-6.5-readline-long-line-crash-test.patch
@@ -9,14 +9,9 @@ FileName: gdb-6.5-readline-long-line-crash-test.patch
;;=fedoratest
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214196
----
- gdb/testsuite/gdb.base/readline-overflow.exp | 126 +++++++++++++++++++++++++++
- 1 file changed, 126 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/readline-overflow.exp
diff --git a/gdb/testsuite/gdb.base/readline-overflow.exp b/gdb/testsuite/gdb.base/readline-overflow.exp
new file mode 100644
-index 0000000000..5e46816d21
--- /dev/null
+++ b/gdb/testsuite/gdb.base/readline-overflow.exp
@@ -0,0 +1,126 @@
@@ -146,6 +141,3 @@ index 0000000000..5e46816d21
+}
+set timeout $oldtimeout1
+
---
-2.14.3
-
diff --git a/gdb-6.5-section-num-fixup-test.patch b/gdb-6.5-section-num-fixup-test.patch
index d7d6bb5..787d4d4 100644
--- a/gdb-6.5-section-num-fixup-test.patch
+++ b/gdb-6.5-section-num-fixup-test.patch
@@ -7,18 +7,9 @@ FileName: gdb-6.5-section-num-fixup-test.patch
;; Test a crash on libraries missing the .text section.
;;=fedoratest
----
- gdb/testsuite/gdb.base/datalib-lib.c | 22 +++++++++++++++
- gdb/testsuite/gdb.base/datalib-main.c | 26 ++++++++++++++++++
- gdb/testsuite/gdb.base/datalib.exp | 51 +++++++++++++++++++++++++++++++++++
- 3 files changed, 99 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/datalib-lib.c
- create mode 100644 gdb/testsuite/gdb.base/datalib-main.c
- create mode 100644 gdb/testsuite/gdb.base/datalib.exp
diff --git a/gdb/testsuite/gdb.base/datalib-lib.c b/gdb/testsuite/gdb.base/datalib-lib.c
new file mode 100644
-index 0000000000..dd39e23746
--- /dev/null
+++ b/gdb/testsuite/gdb.base/datalib-lib.c
@@ -0,0 +1,22 @@
@@ -46,7 +37,6 @@ index 0000000000..dd39e23746
+int var;
diff --git a/gdb/testsuite/gdb.base/datalib-main.c b/gdb/testsuite/gdb.base/datalib-main.c
new file mode 100644
-index 0000000000..4e0b80d2d6
--- /dev/null
+++ b/gdb/testsuite/gdb.base/datalib-main.c
@@ -0,0 +1,26 @@
@@ -78,7 +68,6 @@ index 0000000000..4e0b80d2d6
+}
diff --git a/gdb/testsuite/gdb.base/datalib.exp b/gdb/testsuite/gdb.base/datalib.exp
new file mode 100644
-index 0000000000..385716d901
--- /dev/null
+++ b/gdb/testsuite/gdb.base/datalib.exp
@@ -0,0 +1,51 @@
@@ -133,6 +122,3 @@ index 0000000000..385716d901
+gdb_test "start" \
+ "main \\(\\) at .*${srcfilemain}.*" \
+ "start"
---
-2.14.3
-
diff --git a/gdb-6.5-sharedlibrary-path.patch b/gdb-6.5-sharedlibrary-path.patch
index 867127b..66e6fdb 100644
--- a/gdb-6.5-sharedlibrary-path.patch
+++ b/gdb-6.5-sharedlibrary-path.patch
@@ -30,18 +30,9 @@ The testsuite needs `gdb-6.5-tls-of-separate-debuginfo.patch'.
2008-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Port to gdb-6.7.50.20080227.
----
- gdb/testsuite/gdb.threads/tls-sepdebug-main.c | 25 +++++++
- gdb/testsuite/gdb.threads/tls-sepdebug-shared.c | 22 +++++++
- gdb/testsuite/gdb.threads/tls-sepdebug.exp | 87 +++++++++++++++++++++++++
- 3 files changed, 134 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/tls-sepdebug-main.c
- create mode 100644 gdb/testsuite/gdb.threads/tls-sepdebug-shared.c
- create mode 100644 gdb/testsuite/gdb.threads/tls-sepdebug.exp
diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug-main.c b/gdb/testsuite/gdb.threads/tls-sepdebug-main.c
new file mode 100644
-index 0000000000..ea5d0174d6
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-sepdebug-main.c
@@ -0,0 +1,25 @@
@@ -72,7 +63,6 @@ index 0000000000..ea5d0174d6
+}
diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c b/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c
new file mode 100644
-index 0000000000..61b49251ba
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c
@@ -0,0 +1,22 @@
@@ -100,7 +90,6 @@ index 0000000000..61b49251ba
+__thread int var = 42;
diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug.exp b/gdb/testsuite/gdb.threads/tls-sepdebug.exp
new file mode 100644
-index 0000000000..00773f78f2
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-sepdebug.exp
@@ -0,0 +1,87 @@
@@ -191,6 +180,3 @@ index 0000000000..00773f78f2
+ "\\\$1 = \[0-9\].*" \
+ "print TLS variable from a shared library with $name-directory separate debug info file"
+}
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate-core-as-arg.patch b/gdb-6.6-buildid-locate-core-as-arg.patch
index 5d9792a..7e11279 100644
--- a/gdb-6.6-buildid-locate-core-as-arg.patch
+++ b/gdb-6.6-buildid-locate-core-as-arg.patch
@@ -62,11 +62,6 @@ Http://sourceware.org/ml/gdb-patches/2010-01/msg00517.html
* exec.c (exec_file_attach): Print a more useful error message if the
user did "gdb core".
----
- gdb/common/common-exceptions.h | 3 +++
- gdb/exec.c | 22 +++++++++++++++---
- gdb/main.c | 53 +++++++++++++++++++++++++++++++++++++++---
- 3 files changed, 72 insertions(+), 6 deletions(-)
diff --git a/gdb/common/common-exceptions.h b/gdb/common/common-exceptions.h
index 15c85e28ab..9fe2375bce 100644
@@ -205,6 +200,3 @@ index 3c98787edb..17d35f4a8a 100644
catch_command_errors (symbol_file_add_main_adapter, symarg,
!batch_flag);
}
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch b/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
index f228577..33d06f4 100644
--- a/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
+++ b/gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
@@ -26,11 +26,6 @@ Comments by Sergio Durigan Junior <sergiodj@redhat.com>:
and had a little thinko there. The variable 'filename' needs to be set to
NULL after it is free'd, otherwise the code below thinks that it is still
valid and doesn't print the necessary warning ("Try: yum install ...").
----
- gdb/build-id.c | 5 +-
- .../rhbz981154-misleading-yum-install-warning.exp | 97 ++++++++++++++++++++++
- 2 files changed, 101 insertions(+), 1 deletion(-)
- create mode 100644 gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
diff --git a/gdb/build-id.c b/gdb/build-id.c
index 409a5b8c54..e2c1e81266 100644
@@ -50,7 +45,6 @@ index 409a5b8c54..e2c1e81266 100644
break;
diff --git a/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp b/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
new file mode 100644
-index 0000000000..bb70c5cf44
--- /dev/null
+++ b/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
@@ -0,0 +1,97 @@
@@ -151,6 +145,3 @@ index 0000000000..bb70c5cf44
+
+# Leaving the link there will cause breakage in the next run.
+remote_exec build "rm -f [standard_output_file ${build_id_without_debug}]"
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate-rpm-librpm-workaround.patch b/gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
index b94cc1f..066305e 100644
--- a/gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
+++ b/gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
@@ -7,10 +7,6 @@ FileName: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
;; Workaround librpm BZ 643031 due to its unexpected exit() calls (BZ 642879).
;;=push+jan
----
- gdb/build-id.c | 13 +++++++++++++
- gdb/proc-service.list | 3 +++
- 2 files changed, 16 insertions(+)
diff --git a/gdb/build-id.c b/gdb/build-id.c
index d60cf622dc..409a5b8c54 100644
@@ -48,6 +44,3 @@ index 53f7ed8b1e..323f5e83c2 100644
+ /* gdb-6.6-buildid-locate-rpm.patch */
+ rpmsqEnable;
};
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate-rpm-scl.patch b/gdb-6.6-buildid-locate-rpm-scl.patch
index 9200bab..c25ee1b 100644
--- a/gdb-6.6-buildid-locate-rpm-scl.patch
+++ b/gdb-6.6-buildid-locate-rpm-scl.patch
@@ -10,10 +10,6 @@ FileName: gdb-6.6-buildid-locate-rpm-scl.patch
warning: Skipping deprecated .gdb_index section
https://bugzilla.redhat.com/show_bug.cgi?id=953585
----
- gdb/build-id.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
- gdb/dwarf2read.c | 14 ++++++++++++++
- 2 files changed, 68 insertions(+)
diff --git a/gdb/build-id.c b/gdb/build-id.c
index e2c1e81266..1b75530f91 100644
@@ -135,6 +131,3 @@ index 2c972d5e74..64329af71e 100644
}
/* Version 7 indices generated by gold refer to the CU for a symbol instead
of the TU (for symbols coming from TUs),
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate-rpm.patch b/gdb-6.6-buildid-locate-rpm.patch
index 7697afa..680c773 100644
--- a/gdb-6.6-buildid-locate-rpm.patch
+++ b/gdb-6.6-buildid-locate-rpm.patch
@@ -6,16 +6,6 @@ Subject: gdb-6.6-buildid-locate-rpm.patch
FileName: gdb-6.6-buildid-locate-rpm.patch
;;=push+jan
----
- gdb/aclocal.m4 | 215 +++++++++++++++++++++++
- gdb/build-id.c | 407 +++++++++++++++++++++++++++++++++++++++++++-
- gdb/config.in | 6 +
- gdb/configure | 508 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
- gdb/configure.ac | 193 +++++++++++++++++++++
- gdb/corelow.c | 2 +-
- gdb/event-top.c | 8 +-
- gdb/symfile.h | 2 +
- 8 files changed, 1331 insertions(+), 10 deletions(-)
diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4
index e0d38ea267..da5ac313e3 100644
@@ -1530,6 +1520,3 @@ index 0d51f46d78..82c76431e1 100644
/* From dwarf2read.c */
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate-solib-missing-ids.patch b/gdb-6.6-buildid-locate-solib-missing-ids.patch
index 6afc250..78aa93c 100644
--- a/gdb-6.6-buildid-locate-solib-missing-ids.patch
+++ b/gdb-6.6-buildid-locate-solib-missing-ids.patch
@@ -12,15 +12,6 @@ FileName: gdb-6.6-buildid-locate-solib-missing-ids.patch
gdb returns an incorrect back trace when applying a debuginfo
https://bugzilla.redhat.com/show_bug.cgi?id=1339862
----
- gdb/solib-svr4.c | 35 ++++---
- .../gcore-buildid-exec-but-not-solib-lib.c | 21 +++++
- .../gcore-buildid-exec-but-not-solib-main.c | 25 +++++
- .../gdb.base/gcore-buildid-exec-but-not-solib.exp | 105 +++++++++++++++++++++
- 4 files changed, 167 insertions(+), 19 deletions(-)
- create mode 100644 gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-lib.c
- create mode 100644 gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-main.c
- create mode 100644 gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index a3399ad8f7..d7eeb6350d 100644
@@ -83,7 +74,6 @@ index a3399ad8f7..d7eeb6350d 100644
xfree (build_id);
diff --git a/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-lib.c b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-lib.c
new file mode 100644
-index 0000000000..d74b690c73
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-lib.c
@@ -0,0 +1,21 @@
@@ -110,7 +100,6 @@ index 0000000000..d74b690c73
+}
diff --git a/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-main.c b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-main.c
new file mode 100644
-index 0000000000..46b9dfe161
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib-main.c
@@ -0,0 +1,25 @@
@@ -141,7 +130,6 @@ index 0000000000..46b9dfe161
+}
diff --git a/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp
new file mode 100644
-index 0000000000..0c46489f31
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp
@@ -0,0 +1,105 @@
@@ -250,6 +238,3 @@ index 0000000000..0c46489f31
+
+gdb_test "bt"
+gdb_test "info shared"
---
-2.14.3
-
diff --git a/gdb-6.6-buildid-locate.patch b/gdb-6.6-buildid-locate.patch
index 947a752..cb02312 100644
--- a/gdb-6.6-buildid-locate.patch
+++ b/gdb-6.6-buildid-locate.patch
@@ -7,23 +7,6 @@ FileName: gdb-6.6-buildid-locate.patch
;; New locating of the matching binaries from the pure core file (build-id).
;;=push+jan
----
- gdb/build-id.c | 753 +++++++++++++++++++++++-
- gdb/build-id.h | 15 +-
- gdb/coffread.c | 2 +-
- gdb/corelow.c | 67 +++
- gdb/doc/gdb.texinfo | 21 +
- gdb/dwarf2read.c | 2 +-
- gdb/elfread.c | 7 +-
- gdb/objfiles.h | 4 +
- gdb/python/py-objfile.c | 4 +-
- gdb/solib-svr4.c | 50 +-
- gdb/symfile.h | 4 +
- gdb/testsuite/gdb.base/corefile.exp | 30 +
- gdb/testsuite/gdb.base/new-ui-pending-input.exp | 1 +
- gdb/testsuite/lib/gdb.exp | 10 +
- gdb/testsuite/lib/mi-support.exp | 10 +
- 15 files changed, 940 insertions(+), 40 deletions(-)
diff --git a/gdb/build-id.c b/gdb/build-id.c
index 945da4f3cf..5740628386 100644
@@ -1304,6 +1287,3 @@ index 2846da74e4..004c3e6c1c 100644
if { $separate_inferior_pty } {
mi_create_inferior_pty
---
-2.14.3
-
diff --git a/gdb-6.6-bz229517-gcore-without-terminal.patch b/gdb-6.6-bz229517-gcore-without-terminal.patch
index 5cc50ad..fa78c96 100644
--- a/gdb-6.6-bz229517-gcore-without-terminal.patch
+++ b/gdb-6.6-bz229517-gcore-without-terminal.patch
@@ -15,16 +15,9 @@ FileName: gdb-6.6-bz229517-gcore-without-terminal.patch
2007-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gcorebg.exp, gdb.base/gcorebg.c: New files.
----
- gdb/testsuite/gdb.base/gcorebg.c | 49 ++++++++++++++++
- gdb/testsuite/gdb.base/gcorebg.exp | 113 +++++++++++++++++++++++++++++++++++++
- 2 files changed, 162 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/gcorebg.c
- create mode 100644 gdb/testsuite/gdb.base/gcorebg.exp
diff --git a/gdb/testsuite/gdb.base/gcorebg.c b/gdb/testsuite/gdb.base/gcorebg.c
new file mode 100644
-index 0000000000..427ebe9b4f
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcorebg.c
@@ -0,0 +1,49 @@
@@ -79,7 +72,6 @@ index 0000000000..427ebe9b4f
+}
diff --git a/gdb/testsuite/gdb.base/gcorebg.exp b/gdb/testsuite/gdb.base/gcorebg.exp
new file mode 100644
-index 0000000000..a5471ba5df
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gcorebg.exp
@@ -0,0 +1,113 @@
@@ -196,6 +188,3 @@ index 0000000000..a5471ba5df
+
+set env(PATH) $oldpath
+remote_file target delete "./gdb"
---
-2.14.3
-
diff --git a/gdb-6.6-bz230000-power6-disassembly-test.patch b/gdb-6.6-bz230000-power6-disassembly-test.patch
index 83e020a..3cffdd5 100644
--- a/gdb-6.6-bz230000-power6-disassembly-test.patch
+++ b/gdb-6.6-bz230000-power6-disassembly-test.patch
@@ -13,16 +13,9 @@ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230000
The original testcase
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230000#c1
requires too recent GCC.
----
- gdb/testsuite/gdb.arch/powerpc-power6.exp | 54 +++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.arch/powerpc-power6.s | 16 +++++++++
- 2 files changed, 70 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-power6.exp
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-power6.s
diff --git a/gdb/testsuite/gdb.arch/powerpc-power6.exp b/gdb/testsuite/gdb.arch/powerpc-power6.exp
new file mode 100644
-index 0000000000..082a4b7802
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power6.exp
@@ -0,0 +1,54 @@
@@ -82,7 +75,6 @@ index 0000000000..082a4b7802
+gdb_test "disass func" ":\tdcmpuq *cr1,f2,f0\r\n.*" "Power6 disassembly dcmpuq"
diff --git a/gdb/testsuite/gdb.arch/powerpc-power6.s b/gdb/testsuite/gdb.arch/powerpc-power6.s
new file mode 100644
-index 0000000000..6694b237ab
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power6.s
@@ -0,0 +1,16 @@
@@ -102,6 +94,3 @@ index 0000000000..6694b237ab
+ .long 0xfc020444 /* ddivq f0,f2,f0 */
+ .long 0xec820d04 /* dcmpu cr1,f2,f1 */
+ .long 0xfc820504 /* dcmpuq cr1,f2,f0 */
---
-2.14.3
-
diff --git a/gdb-6.6-bz235197-fork-detach-info.patch b/gdb-6.6-bz235197-fork-detach-info.patch
index 796891c..b985654 100644
--- a/gdb-6.6-bz235197-fork-detach-info.patch
+++ b/gdb-6.6-bz235197-fork-detach-info.patch
@@ -12,14 +12,6 @@ FileName: gdb-6.6-bz235197-fork-detach-info.patch
Port to GDB-6.8pre.
Remove the `[' character from the GDB-6.8 default message.
----
- gdb/infrun.c | 2 +-
- gdb/testsuite/gdb.base/catch-syscall.exp | 4 +--
- gdb/testsuite/gdb.base/fork-detach.c | 57 ++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.base/fork-detach.exp | 36 ++++++++++++++++++++
- 4 files changed, 96 insertions(+), 3 deletions(-)
- create mode 100644 gdb/testsuite/gdb.base/fork-detach.c
- create mode 100644 gdb/testsuite/gdb.base/fork-detach.exp
diff --git a/gdb/infrun.c b/gdb/infrun.c
index e1d11234e0..23439979b5 100644
@@ -58,7 +50,6 @@ index 2a8bf27e5c..20fa041155 100644
diff --git a/gdb/testsuite/gdb.base/fork-detach.c b/gdb/testsuite/gdb.base/fork-detach.c
new file mode 100644
-index 0000000000..0ba8f465f3
--- /dev/null
+++ b/gdb/testsuite/gdb.base/fork-detach.c
@@ -0,0 +1,57 @@
@@ -121,7 +112,6 @@ index 0000000000..0ba8f465f3
+}
diff --git a/gdb/testsuite/gdb.base/fork-detach.exp b/gdb/testsuite/gdb.base/fork-detach.exp
new file mode 100644
-index 0000000000..1f1fcef6c4
--- /dev/null
+++ b/gdb/testsuite/gdb.base/fork-detach.exp
@@ -0,0 +1,36 @@
@@ -161,6 +151,3 @@ index 0000000000..1f1fcef6c4
+gdb_test "" \
+ "Detaching after fork from child process.*\\\[Inferior .* exited normally\\\]" \
+ "Info message caught"
---
-2.14.3
-
diff --git a/gdb-6.6-bz237572-ppc-atomic-sequence-test.patch b/gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
index e919d6d..087a0cc 100644
--- a/gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
+++ b/gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
@@ -12,16 +12,9 @@ FileName: gdb-6.6-bz237572-ppc-atomic-sequence-test.patch
* gdb.threads/atomic-seq-threaded.c,
gdb.threads/atomic-seq-threaded.exp: New files.
----
- gdb/testsuite/gdb.threads/atomic-seq-threaded.c | 171 ++++++++++++++++++++++
- gdb/testsuite/gdb.threads/atomic-seq-threaded.exp | 84 +++++++++++
- 2 files changed, 255 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/atomic-seq-threaded.c
- create mode 100644 gdb/testsuite/gdb.threads/atomic-seq-threaded.exp
diff --git a/gdb/testsuite/gdb.threads/atomic-seq-threaded.c b/gdb/testsuite/gdb.threads/atomic-seq-threaded.c
new file mode 100644
-index 0000000000..04f998bfa6
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/atomic-seq-threaded.c
@@ -0,0 +1,171 @@
@@ -198,7 +191,6 @@ index 0000000000..04f998bfa6
+}
diff --git a/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp b/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp
new file mode 100644
-index 0000000000..eb49db506e
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp
@@ -0,0 +1,84 @@
@@ -286,6 +278,3 @@ index 0000000000..eb49db506e
+gdb_test "c" \
+ ".*Program exited normally\\..*" \
+ "run till program exit"
---
-2.14.3
-
diff --git a/gdb-6.6-scheduler_locking-step-is-default.patch b/gdb-6.6-scheduler_locking-step-is-default.patch
index 3242891..c0cdc89 100644
--- a/gdb-6.6-scheduler_locking-step-is-default.patch
+++ b/gdb-6.6-scheduler_locking-step-is-default.patch
@@ -7,13 +7,6 @@ FileName: gdb-6.6-scheduler_locking-step-is-default.patch
;; Make upstream `set scheduler-locking step' as default.
;;=push+jan: How much is scheduler-locking relevant after non-stop?
----
- gdb/infrun.c | 2 +-
- gdb/testsuite/gdb.mi/mi-cli.exp | 2 +-
- gdb/testsuite/gdb.mi/mi-console.exp | 3 +++
- gdb/testsuite/gdb.mi/mi-logging.exp | 4 ++--
- gdb/testsuite/gdb.opt/inline-cmds.exp | 2 +-
- 5 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 23439979b5..1d0f731954 100644
@@ -90,6 +83,3 @@ index 5227d63f5d..782f31c080 100644
pass $message
}
timeout {
---
-2.14.3
-
diff --git a/gdb-6.6-testsuite-timeouts.patch b/gdb-6.6-testsuite-timeouts.patch
index 54c57ea..8085776 100644
--- a/gdb-6.6-testsuite-timeouts.patch
+++ b/gdb-6.6-testsuite-timeouts.patch
@@ -7,10 +7,6 @@ FileName: gdb-6.6-testsuite-timeouts.patch
;; Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
;;=fedoratest
----
- gdb/testsuite/gdb.base/annota1.exp | 2 ++
- gdb/testsuite/gdb.base/annota3.exp | 2 ++
- 2 files changed, 4 insertions(+)
diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp
index 4b34aa84f2..40e08a4db2 100644
@@ -38,6 +34,3 @@ index a899be69ea..af472af8a5 100644
# The commands we test here produce many lines of output; disable "press
# <return> to continue" prompts.
gdb_test_no_output "set height 0"
---
-2.14.3
-
diff --git a/gdb-6.7-charsign-test.patch b/gdb-6.7-charsign-test.patch
index 24bb0ed..059c774 100644
--- a/gdb-6.7-charsign-test.patch
+++ b/gdb-6.7-charsign-test.patch
@@ -19,16 +19,9 @@ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=224128
Port to GDB-6.7 - only the testcase left, patch has been reverted,
char-vectors restricted.
----
- gdb/testsuite/gdb.base/charsign.c | 37 ++++++++++++++++++++++
- gdb/testsuite/gdb.base/charsign.exp | 63 +++++++++++++++++++++++++++++++++++++
- 2 files changed, 100 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/charsign.c
- create mode 100644 gdb/testsuite/gdb.base/charsign.exp
diff --git a/gdb/testsuite/gdb.base/charsign.c b/gdb/testsuite/gdb.base/charsign.c
new file mode 100644
-index 0000000000..41d175ff9d
--- /dev/null
+++ b/gdb/testsuite/gdb.base/charsign.c
@@ -0,0 +1,37 @@
@@ -71,7 +64,6 @@ index 0000000000..41d175ff9d
+char_u u_typed[]="A";
diff --git a/gdb/testsuite/gdb.base/charsign.exp b/gdb/testsuite/gdb.base/charsign.exp
new file mode 100644
-index 0000000000..b5fa580490
--- /dev/null
+++ b/gdb/testsuite/gdb.base/charsign.exp
@@ -0,0 +1,63 @@
@@ -138,6 +130,3 @@ index 0000000000..b5fa580490
+do_test {}
+do_test {-fsigned-char}
+do_test {-funsigned-char}
---
-2.14.3
-
diff --git a/gdb-6.7-ppc-clobbered-registers-O2-test.patch b/gdb-6.7-ppc-clobbered-registers-O2-test.patch
index 46f8f01..e06827e 100644
--- a/gdb-6.7-ppc-clobbered-registers-O2-test.patch
+++ b/gdb-6.7-ppc-clobbered-registers-O2-test.patch
@@ -22,16 +22,9 @@ http://sourceware.org/ml/gdb-patches/2007-09/msg00228.html
* rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function.
* (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as
default dwarf2_frame_set_init_reg function.
----
- .../gdb.arch/ppc-clobbered-registers-O2.c | 21 +++++++++
- .../gdb.arch/ppc-clobbered-registers-O2.exp | 54 ++++++++++++++++++++++
- 2 files changed, 75 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c
- create mode 100644 gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp
diff --git a/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c
new file mode 100644
-index 0000000000..698ff8a0b5
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c
@@ -0,0 +1,21 @@
@@ -58,7 +51,6 @@ index 0000000000..698ff8a0b5
+}
diff --git a/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp
new file mode 100644
-index 0000000000..c9ebd0e522
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp
@@ -0,0 +1,54 @@
@@ -116,6 +108,3 @@ index 0000000000..c9ebd0e522
+
+gdb_test backtrace ".*operand0=<value optimized out>.*operand1=<value optimized out>.*" \
+ "Check value of call clobbered registers"
---
-2.14.3
-
diff --git a/gdb-6.7-testsuite-stable-results.patch b/gdb-6.7-testsuite-stable-results.patch
index 5487959..234f6f3 100644
--- a/gdb-6.7-testsuite-stable-results.patch
+++ b/gdb-6.7-testsuite-stable-results.patch
@@ -26,10 +26,6 @@ random FAIL: gdb.base/auxv.exp: matching auxv data from live and gcore
gdb-6.8.50.20090209/gdb/testsuite/gdb.base/annota1.exp:
frames-invalid can happen asynchronously.
----
- gdb/testsuite/gdb.base/fileio.c | 22 ++++++++++++++++++++++
- gdb/testsuite/gdb.base/fileio.exp | 13 ++++++-------
- 2 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c
index 7f482a34d3..1caadbae84 100644
@@ -110,6 +106,3 @@ index bc409c26aa..e1e5e2e5d0 100644
set timeout $oldtimeout
return 0
---
-2.14.3
-
diff --git a/gdb-6.8-attach-signalled-detach-stopped.patch b/gdb-6.8-attach-signalled-detach-stopped.patch
index b6d9f85..be75a1f 100644
--- a/gdb-6.8-attach-signalled-detach-stopped.patch
+++ b/gdb-6.8-attach-signalled-detach-stopped.patch
@@ -8,11 +8,6 @@ FileName: gdb-6.8-attach-signalled-detach-stopped.patch
;; [RHEL5,RHEL6] Fix attaching to stopped processes.
;; [RHEL5] Workaround kernel for detaching SIGSTOPped processes (BZ 809382).
;;=fedora
----
- gdb/infrun.c | 7 ++++
- gdb/linux-nat.c | 45 +++++++++++++++++++++
- gdb/testsuite/gdb.threads/attach-stopped.exp | 60 +++++++++++++++++++++++++++-
- 3 files changed, 111 insertions(+), 1 deletion(-)
diff --git a/gdb/infrun.c b/gdb/infrun.c
index b468d02fd6..16561dd119 100644
@@ -194,6 +189,3 @@ index 6c8c8bf10e..c953a9c60d 100644
set test "$threadtype: attach2 to stopped, after setting file"
gdb_test_multiple "attach $testpid" "$test" {
---
-2.14.3
-
diff --git a/gdb-6.8-bz436037-reg-no-longer-active.patch b/gdb-6.8-bz436037-reg-no-longer-active.patch
index 177e024..01edd16 100644
--- a/gdb-6.8-bz436037-reg-no-longer-active.patch
+++ b/gdb-6.8-bz436037-reg-no-longer-active.patch
@@ -7,9 +7,6 @@ FileName: gdb-6.8-bz436037-reg-no-longer-active.patch
;; Fix register assignments with no GDB stack frames (BZ 436037).
;;=push+jan: This fix is incorrect.
----
- gdb/valops.c | 12 ++++++++++--
- 1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gdb/valops.c b/gdb/valops.c
index 9b25980090..7aacd17d70 100644
@@ -41,6 +38,3 @@ index 9b25980090..7aacd17d70 100644
if (!frame)
error (_("Value being assigned to is no longer active."));
---
-2.14.3
-
diff --git a/gdb-6.8-bz442765-threaded-exec-test.patch b/gdb-6.8-bz442765-threaded-exec-test.patch
index f5e618b..fb202c8 100644
--- a/gdb-6.8-bz442765-threaded-exec-test.patch
+++ b/gdb-6.8-bz442765-threaded-exec-test.patch
@@ -9,10 +9,6 @@ FileName: gdb-6.8-bz442765-threaded-exec-test.patch
;;=fedoratest
Test various forms of threads tracking across exec(2).
----
- gdb/testsuite/gdb.threads/threaded-exec.c | 111 ++++++++++++++++++++++++++--
- gdb/testsuite/gdb.threads/threaded-exec.exp | 13 +++-
- 2 files changed, 115 insertions(+), 9 deletions(-)
diff --git a/gdb/testsuite/gdb.threads/threaded-exec.c b/gdb/testsuite/gdb.threads/threaded-exec.c
index 522b24671d..7079317d3a 100644
@@ -187,6 +183,3 @@ index 77c8a7dc85..8c43162b36 100644
gdb_test_multiple {} "Program exited" {
-re "\r\n\\\[Inferior .* exited normally\\\]\r\n$gdb_prompt $" {
---
-2.14.3
-
diff --git a/gdb-6.8-bz466901-backtrace-full-prelinked.patch b/gdb-6.8-bz466901-backtrace-full-prelinked.patch
index d88b5d5..3d52e8d 100644
--- a/gdb-6.8-bz466901-backtrace-full-prelinked.patch
+++ b/gdb-6.8-bz466901-backtrace-full-prelinked.patch
@@ -9,18 +9,9 @@ FileName: gdb-6.8-bz466901-backtrace-full-prelinked.patch
;;=fedoratest
Fix resolving of variables at locations lists in prelinked libs (BZ 466901).
----
- .../gdb.dwarf2/dw2-loclist-prelinked-func.S | 328 +++++++++++++++++++++
- .../gdb.dwarf2/dw2-loclist-prelinked-main.c | 26 ++
- gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp | 102 +++++++
- 3 files changed, 456 insertions(+)
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S
new file mode 100644
-index 0000000000..442c4d00a1
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S
@@ -0,0 +1,328 @@
@@ -354,7 +345,6 @@ index 0000000000..442c4d00a1
+ .section .note.GNU-stack,"",@progbits
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c
new file mode 100644
-index 0000000000..57386999ce
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c
@@ -0,0 +1,26 @@
@@ -386,7 +376,6 @@ index 0000000000..57386999ce
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
new file mode 100644
-index 0000000000..30d0473336
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
@@ -0,0 +1,102 @@
@@ -492,6 +481,3 @@ index 0000000000..30d0473336
+
+# `abort' can get expressed as `*__GI_abort'.
+gdb_test "bt full" "in \[^ \]*abort \\(.*in func \\(.*\r\n\[\t \]+i = -?\[0-9\].*in main \\(.*" "Backtrace after abort()"
---
-2.14.3
-
diff --git a/gdb-6.8-quit-never-aborts.patch b/gdb-6.8-quit-never-aborts.patch
index cd9ec12..8fbe6f0 100644
--- a/gdb-6.8-quit-never-aborts.patch
+++ b/gdb-6.8-quit-never-aborts.patch
@@ -14,12 +14,6 @@ being sent during a testcase terminating its child GDB.
Some of the threads may not be properly PTRACE_DETACHed which hurts if they
should have been detached with SIGSTOP (as they are accidentally left running
on the debugger termination).
----
- gdb/defs.h | 4 ++++
- gdb/extension.c | 5 +++++
- gdb/top.c | 6 ++++++
- gdb/utils.c | 7 +++++++
- 4 files changed, 22 insertions(+)
diff --git a/gdb/defs.h b/gdb/defs.h
index 0c156d56c3..9a7f4d52b0 100644
@@ -88,6 +82,3 @@ index 6f0abc98a2..58c0380d17 100644
/* Nonzero means that strings with character values >0x7F should be printed
as octal escapes. Zero means just print the value (e.g. it's an
international character, and the terminal or window can cope.) */
---
-2.14.3
-
diff --git a/gdb-6.8-sparc64-silence-memcpy-check.patch b/gdb-6.8-sparc64-silence-memcpy-check.patch
index a150442..bef469f 100644
--- a/gdb-6.8-sparc64-silence-memcpy-check.patch
+++ b/gdb-6.8-sparc64-silence-memcpy-check.patch
@@ -7,9 +7,6 @@ FileName: gdb-6.8-sparc64-silence-memcpy-check.patch
;; Silence memcpy check which returns false positive (sparc64)
;;=push: But it is just a GCC workaround, look up the existing GCC PR for it.
----
- gdb/sparc-tdep.c | 1 +
- 1 file changed, 1 insertion(+)
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 12fd5b9e64..e304ba8dbc 100644
@@ -23,6 +20,3 @@ index 12fd5b9e64..e304ba8dbc 100644
memcpy (buf, valbuf, len);
regcache_cooked_write (regcache, SPARC_F0_REGNUM, buf);
if (len > 4)
---
-2.14.3
-
diff --git a/gdb-6.8-watchpoint-conditionals-test.patch b/gdb-6.8-watchpoint-conditionals-test.patch
index e409666..1890f5e 100644
--- a/gdb-6.8-watchpoint-conditionals-test.patch
+++ b/gdb-6.8-watchpoint-conditionals-test.patch
@@ -11,16 +11,9 @@ FileName: gdb-6.8-watchpoint-conditionals-test.patch
For:
http://sourceware.org/ml/gdb-patches/2008-04/msg00379.html
http://sourceware.org/ml/gdb-cvs/2008-04/msg00104.html
----
- gdb/testsuite/gdb.base/watchpoint-cond.c | 31 +++++++++++++++++++++++++
- gdb/testsuite/gdb.base/watchpoint-cond.exp | 37 ++++++++++++++++++++++++++++++
- 2 files changed, 68 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-cond.c
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-cond.exp
diff --git a/gdb/testsuite/gdb.base/watchpoint-cond.c b/gdb/testsuite/gdb.base/watchpoint-cond.c
new file mode 100644
-index 0000000000..d4ec581946
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-cond.c
@@ -0,0 +1,31 @@
@@ -57,7 +50,6 @@ index 0000000000..d4ec581946
+}
diff --git a/gdb/testsuite/gdb.base/watchpoint-cond.exp b/gdb/testsuite/gdb.base/watchpoint-cond.exp
new file mode 100644
-index 0000000000..31d5b602aa
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-cond.exp
@@ -0,0 +1,37 @@
@@ -98,6 +90,3 @@ index 0000000000..31d5b602aa
+
+gdb_test "watch i if i < 20" "atchpoint \[0-9\]+: i"
+gdb_test "cont" "atchpoint \[0-9\]+: i.*Old value = 20.*New value = 19.*"
---
-2.14.3
-
diff --git a/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch b/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
index cd64dc1..d981bc1 100644
--- a/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
+++ b/gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
@@ -17,9 +17,6 @@ FileName: gdb-7.2.50-sparc-add-workaround-to-broken-debug-files.patch
;; While we figure out what's wrong in the toolchain and do a full archive
;; rebuild to fix it, we need to be able to use gdb :)
;;=push
----
- gdb/gdb_bfd.c | 6 ++++++
- 1 file changed, 6 insertions(+)
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index 80ddd427af..3e4d3e4444 100644
@@ -72,6 +69,3 @@ index 80ddd427af..3e4d3e4444 100644
/* Handle compressed sections, or ordinary uncompressed sections in
the no-mmap case. */
---
-2.14.3
-
diff --git a/gdb-archer-next-over-throw-cxx-exec.patch b/gdb-archer-next-over-throw-cxx-exec.patch
index 537a73d..5d6541a 100644
--- a/gdb-archer-next-over-throw-cxx-exec.patch
+++ b/gdb-archer-next-over-throw-cxx-exec.patch
@@ -10,16 +10,9 @@ FileName: gdb-archer-next-over-throw-cxx-exec.patch
Archer-upstreamed:
http://sourceware.org/ml/archer/2010-q2/msg00031.html
----
- gdb/testsuite/gdb.cp/cxxexec.cc | 25 ++++++++++++++++++++
- gdb/testsuite/gdb.cp/cxxexec.exp | 51 ++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 76 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/cxxexec.cc
- create mode 100644 gdb/testsuite/gdb.cp/cxxexec.exp
diff --git a/gdb/testsuite/gdb.cp/cxxexec.cc b/gdb/testsuite/gdb.cp/cxxexec.cc
new file mode 100644
-index 0000000000..48fd63e9d3
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/cxxexec.cc
@@ -0,0 +1,25 @@
@@ -50,7 +43,6 @@ index 0000000000..48fd63e9d3
+}
diff --git a/gdb/testsuite/gdb.cp/cxxexec.exp b/gdb/testsuite/gdb.cp/cxxexec.exp
new file mode 100644
-index 0000000000..c85dd0129d
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/cxxexec.exp
@@ -0,0 +1,51 @@
@@ -105,6 +97,3 @@ index 0000000000..c85dd0129d
+
+# `info inferiors' can show <null> on older GDBs.
+gdb_test "info threads" "info threads" "program finished"
---
-2.14.3
-
diff --git a/gdb-archer-pie-addons-keep-disabled.patch b/gdb-archer-pie-addons-keep-disabled.patch
index bb5aa1f..e75d50d 100644
--- a/gdb-archer-pie-addons-keep-disabled.patch
+++ b/gdb-archer-pie-addons-keep-disabled.patch
@@ -6,11 +6,6 @@ Subject: gdb-archer-pie-addons-keep-disabled.patch
FileName: gdb-archer-pie-addons-keep-disabled.patch
;;=push+jan: Breakpoints disabling matching should not be based on address.
----
- gdb/breakpoint.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
- gdb/breakpoint.h | 3 +++
- gdb/objfiles.c | 5 +++++
- 3 files changed, 52 insertions(+)
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 2b5eebbbee..814802a0a1 100644
@@ -97,6 +92,3 @@ index 7adaef119d..2f061b47f7 100644
/* Data changed. */
return 1;
}
---
-2.14.3
-
diff --git a/gdb-archer-pie-addons.patch b/gdb-archer-pie-addons.patch
index c8a0d66..f469b6e 100644
--- a/gdb-archer-pie-addons.patch
+++ b/gdb-archer-pie-addons.patch
@@ -6,10 +6,6 @@ Subject: gdb-archer-pie-addons.patch
FileName: gdb-archer-pie-addons.patch
;;=push+jan: May get obsoleted by Tom's unrelocated objfiles patch.
----
- gdb/gdbtypes.h | 5 +++++
- gdb/value.c | 3 ++-
- 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 179238ce82..5597038357 100644
@@ -69,6 +65,3 @@ index d4b4673f66..558d0bbd7a 100644
break;
case FIELD_LOC_KIND_PHYSNAME:
{
---
-2.14.3
-
diff --git a/gdb-archer-vla-tests.patch b/gdb-archer-vla-tests.patch
index 03a3d7d..6427604 100644
--- a/gdb-archer-vla-tests.patch
+++ b/gdb-archer-vla-tests.patch
@@ -6,95 +6,6 @@ Subject: gdb-archer-vla-tests.patch
FileName: gdb-archer-vla-tests.patch
;;=fedoratest
----
- gdb/testsuite/gdb.ada/packed_array.exp | 6 +
- gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S | 358 ++++++++++++++++
- gdb/testsuite/gdb.arch/x86_64-vla-pointer.c | 45 ++
- gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp | 65 +++
- gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S | 455 +++++++++++++++++++++
- gdb/testsuite/gdb.arch/x86_64-vla-typedef.c | 45 ++
- gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp | 64 +++
- gdb/testsuite/gdb.base/arrayidx.c | 7 +
- gdb/testsuite/gdb.base/arrayidx.exp | 10 +-
- .../gdb.base/internal-var-field-address.c | 20 +
- .../gdb.base/internal-var-field-address.exp | 26 ++
- gdb/testsuite/gdb.base/vla-frame.c | 31 ++
- gdb/testsuite/gdb.base/vla-frame.exp | 38 ++
- gdb/testsuite/gdb.base/vla-overflow.c | 30 ++
- gdb/testsuite/gdb.base/vla-overflow.exp | 109 +++++
- gdb/testsuite/gdb.base/vla.c | 55 +++
- gdb/testsuite/gdb.base/vla.exp | 62 +++
- gdb/testsuite/gdb.cp/gdb9593.cc | 180 ++++++++
- gdb/testsuite/gdb.cp/gdb9593.exp | 182 +++++++++
- gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S | 246 +++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp | 66 +++
- gdb/testsuite/gdb.dwarf2/dw2-stripped.c | 42 ++
- gdb/testsuite/gdb.dwarf2/dw2-stripped.exp | 79 ++++
- .../gdb.dwarf2/dw2-struct-member-data-location.S | 83 ++++
- .../gdb.dwarf2/dw2-struct-member-data-location.exp | 37 ++
- gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S | 121 ++++++
- gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp | 39 ++
- gdb/testsuite/gdb.fortran/dwarf-stride.exp | 42 ++
- gdb/testsuite/gdb.fortran/dwarf-stride.f90 | 40 ++
- gdb/testsuite/gdb.fortran/dynamic.exp | 154 +++++++
- gdb/testsuite/gdb.fortran/dynamic.f90 | 98 +++++
- gdb/testsuite/gdb.fortran/string.exp | 59 +++
- gdb/testsuite/gdb.fortran/string.f90 | 37 ++
- gdb/testsuite/gdb.fortran/subrange.exp | 72 ++++
- gdb/testsuite/gdb.fortran/subrange.f90 | 28 ++
- gdb/testsuite/gdb.mi/mi2-var-stale-type.c | 26 ++
- gdb/testsuite/gdb.mi/mi2-var-stale-type.exp | 57 +++
- gdb/testsuite/gdb.opt/array-from-register-func.c | 22 +
- gdb/testsuite/gdb.opt/array-from-register.c | 28 ++
- gdb/testsuite/gdb.opt/array-from-register.exp | 33 ++
- gdb/testsuite/gdb.opt/fortran-string.exp | 39 ++
- gdb/testsuite/gdb.opt/fortran-string.f90 | 28 ++
- gdb/testsuite/gdb.pascal/arrays.exp | 104 +++++
- gdb/testsuite/gdb.pascal/arrays.pas | 82 ++++
- gdb/testsuite/lib/gdb.exp | 5 +
- gdb/testsuite/lib/pascal.exp | 17 +
- 46 files changed, 3471 insertions(+), 1 deletion(-)
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-vla-pointer.c
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-vla-typedef.c
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp
- create mode 100644 gdb/testsuite/gdb.base/internal-var-field-address.c
- create mode 100644 gdb/testsuite/gdb.base/internal-var-field-address.exp
- create mode 100644 gdb/testsuite/gdb.base/vla-frame.c
- create mode 100644 gdb/testsuite/gdb.base/vla-frame.exp
- create mode 100644 gdb/testsuite/gdb.base/vla-overflow.c
- create mode 100644 gdb/testsuite/gdb.base/vla-overflow.exp
- create mode 100644 gdb/testsuite/gdb.base/vla.c
- create mode 100644 gdb/testsuite/gdb.base/vla.exp
- create mode 100644 gdb/testsuite/gdb.cp/gdb9593.cc
- create mode 100644 gdb/testsuite/gdb.cp/gdb9593.exp
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-stripped.c
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-stripped.exp
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.S
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp
- create mode 100644 gdb/testsuite/gdb.fortran/dwarf-stride.exp
- create mode 100644 gdb/testsuite/gdb.fortran/dwarf-stride.f90
- create mode 100644 gdb/testsuite/gdb.fortran/dynamic.exp
- create mode 100644 gdb/testsuite/gdb.fortran/dynamic.f90
- create mode 100644 gdb/testsuite/gdb.fortran/string.exp
- create mode 100644 gdb/testsuite/gdb.fortran/string.f90
- create mode 100644 gdb/testsuite/gdb.fortran/subrange.exp
- create mode 100644 gdb/testsuite/gdb.fortran/subrange.f90
- create mode 100644 gdb/testsuite/gdb.mi/mi2-var-stale-type.c
- create mode 100644 gdb/testsuite/gdb.mi/mi2-var-stale-type.exp
- create mode 100644 gdb/testsuite/gdb.opt/array-from-register-func.c
- create mode 100644 gdb/testsuite/gdb.opt/array-from-register.c
- create mode 100644 gdb/testsuite/gdb.opt/array-from-register.exp
- create mode 100644 gdb/testsuite/gdb.opt/fortran-string.exp
- create mode 100644 gdb/testsuite/gdb.opt/fortran-string.f90
- create mode 100644 gdb/testsuite/gdb.pascal/arrays.exp
- create mode 100644 gdb/testsuite/gdb.pascal/arrays.pas
diff --git a/gdb/testsuite/gdb.ada/packed_array.exp b/gdb/testsuite/gdb.ada/packed_array.exp
index 3e614b788a..0ae87786db 100644
@@ -114,7 +25,6 @@ index 3e614b788a..0ae87786db 100644
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S b/gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S
new file mode 100644
-index 0000000000..3a983e6b22
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S
@@ -0,0 +1,358 @@
@@ -478,7 +388,6 @@ index 0000000000..3a983e6b22
+ .section .note.GNU-stack,"",@progbits
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-pointer.c b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.c
new file mode 100644
-index 0000000000..98ee43bbf2
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.c
@@ -0,0 +1,45 @@
@@ -529,7 +438,6 @@ index 0000000000..98ee43bbf2
+#endif
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp
new file mode 100644
-index 0000000000..3e2e64a6ab
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp
@@ -0,0 +1,65 @@
@@ -600,7 +508,6 @@ index 0000000000..3e2e64a6ab
+gdb_test "ptype array" "type = char \\\[78\\\]" "second: ptype array"
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S b/gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S
new file mode 100644
-index 0000000000..66f7a399bf
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S
@@ -0,0 +1,455 @@
@@ -1061,7 +968,6 @@ index 0000000000..66f7a399bf
+ .section .note.GNU-stack,"",@progbits
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-typedef.c b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.c
new file mode 100644
-index 0000000000..40099e9d39
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.c
@@ -0,0 +1,45 @@
@@ -1112,7 +1018,6 @@ index 0000000000..40099e9d39
+#endif
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp
new file mode 100644
-index 0000000000..4ef6214629
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp
@@ -0,0 +1,64 @@
@@ -1218,7 +1123,6 @@ index 91eb3c6056..af29a51f23 100644
+}
diff --git a/gdb/testsuite/gdb.base/internal-var-field-address.c b/gdb/testsuite/gdb.base/internal-var-field-address.c
new file mode 100644
-index 0000000000..eeb7b8501c
--- /dev/null
+++ b/gdb/testsuite/gdb.base/internal-var-field-address.c
@@ -0,0 +1,20 @@
@@ -1244,7 +1148,6 @@ index 0000000000..eeb7b8501c
+} staticstruct = { 1 };
diff --git a/gdb/testsuite/gdb.base/internal-var-field-address.exp b/gdb/testsuite/gdb.base/internal-var-field-address.exp
new file mode 100644
-index 0000000000..33c9e94eee
--- /dev/null
+++ b/gdb/testsuite/gdb.base/internal-var-field-address.exp
@@ -0,0 +1,26 @@
@@ -1276,7 +1179,6 @@ index 0000000000..33c9e94eee
+gdb_test {p $varstruct.field} " = 1"
diff --git a/gdb/testsuite/gdb.base/vla-frame.c b/gdb/testsuite/gdb.base/vla-frame.c
new file mode 100644
-index 0000000000..5750f68b3d
--- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-frame.c
@@ -0,0 +1,31 @@
@@ -1313,7 +1215,6 @@ index 0000000000..5750f68b3d
+}
diff --git a/gdb/testsuite/gdb.base/vla-frame.exp b/gdb/testsuite/gdb.base/vla-frame.exp
new file mode 100644
-index 0000000000..47736c7625
--- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-frame.exp
@@ -0,0 +1,38 @@
@@ -1357,7 +1258,6 @@ index 0000000000..47736c7625
+gdb_test "bt full" "\r\n +s = \"X\\\\000\"\r\n.*"
diff --git a/gdb/testsuite/gdb.base/vla-overflow.c b/gdb/testsuite/gdb.base/vla-overflow.c
new file mode 100644
-index 0000000000..c5d5ee0bb9
--- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-overflow.c
@@ -0,0 +1,30 @@
@@ -1393,7 +1293,6 @@ index 0000000000..c5d5ee0bb9
+}
diff --git a/gdb/testsuite/gdb.base/vla-overflow.exp b/gdb/testsuite/gdb.base/vla-overflow.exp
new file mode 100644
-index 0000000000..43a5825979
--- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-overflow.exp
@@ -0,0 +1,109 @@
@@ -1508,7 +1407,6 @@ index 0000000000..43a5825979
+verbose -log "kb_found in bt after abort() = [expr [memory_v_pages_get] * $pagesize / 1024]"
diff --git a/gdb/testsuite/gdb.base/vla.c b/gdb/testsuite/gdb.base/vla.c
new file mode 100644
-index 0000000000..e1f3ed1780
--- /dev/null
+++ b/gdb/testsuite/gdb.base/vla.c
@@ -0,0 +1,55 @@
@@ -1569,7 +1467,6 @@ index 0000000000..e1f3ed1780
+}
diff --git a/gdb/testsuite/gdb.base/vla.exp b/gdb/testsuite/gdb.base/vla.exp
new file mode 100644
-index 0000000000..71fe637272
--- /dev/null
+++ b/gdb/testsuite/gdb.base/vla.exp
@@ -0,0 +1,62 @@
@@ -1637,7 +1534,6 @@ index 0000000000..71fe637272
+gdb_test "p temp3" " = '3' <repeats 48 times>" "second: print temp3"
diff --git a/gdb/testsuite/gdb.cp/gdb9593.cc b/gdb/testsuite/gdb.cp/gdb9593.cc
new file mode 100644
-index 0000000000..783c9622a8
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb9593.cc
@@ -0,0 +1,180 @@
@@ -1823,7 +1719,6 @@ index 0000000000..783c9622a8
+
diff --git a/gdb/testsuite/gdb.cp/gdb9593.exp b/gdb/testsuite/gdb.cp/gdb9593.exp
new file mode 100644
-index 0000000000..ef40424402
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb9593.exp
@@ -0,0 +1,182 @@
@@ -2011,7 +1906,6 @@ index 0000000000..ef40424402
+ "advance-over-throw"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S
new file mode 100644
-index 0000000000..aac3baad8a
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S
@@ -0,0 +1,246 @@
@@ -2263,7 +2157,6 @@ index 0000000000..aac3baad8a
+ .string "unsigned int"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp
new file mode 100644
-index 0000000000..39e69b470f
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp
@@ -0,0 +1,66 @@
@@ -2335,7 +2228,6 @@ index 0000000000..39e69b470f
+gdb_test "ptype reg_string" {type = char \[-?[0-9]+\]}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-stripped.c b/gdb/testsuite/gdb.dwarf2/dw2-stripped.c
new file mode 100644
-index 0000000000..1f02d90eeb
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-stripped.c
@@ -0,0 +1,42 @@
@@ -2383,7 +2275,6 @@ index 0000000000..1f02d90eeb
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp b/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp
new file mode 100644
-index 0000000000..9336e03157
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp
@@ -0,0 +1,79 @@
@@ -2468,7 +2359,6 @@ index 0000000000..9336e03157
+ "step"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.S b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.S
new file mode 100644
-index 0000000000..5fcdd84986
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.S
@@ -0,0 +1,83 @@
@@ -2557,7 +2447,6 @@ index 0000000000..5fcdd84986
+ .byte 0x0 /* Terminator */
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp
new file mode 100644
-index 0000000000..bc35209fe5
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp
@@ -0,0 +1,37 @@
@@ -2600,7 +2489,6 @@ index 0000000000..bc35209fe5
+gdb_test "ptype struct some_struct" "type = struct some_struct {\[\r\n \t\]*void field;\[\r\n \t\]*}"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S
new file mode 100644
-index 0000000000..9dbbf3c3e1
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S
@@ -0,0 +1,121 @@
@@ -2727,7 +2615,6 @@ index 0000000000..9dbbf3c3e1
+ .byte 0x0 /* Terminator */
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp
new file mode 100644
-index 0000000000..cec673cd39
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp
@@ -0,0 +1,39 @@
@@ -2772,7 +2659,6 @@ index 0000000000..cec673cd39
+gdb_test "p notype_string" " = 'x' <repeats 129 times>"
diff --git a/gdb/testsuite/gdb.fortran/dwarf-stride.exp b/gdb/testsuite/gdb.fortran/dwarf-stride.exp
new file mode 100644
-index 0000000000..d7b8bea8db
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dwarf-stride.exp
@@ -0,0 +1,42 @@
@@ -2820,7 +2706,6 @@ index 0000000000..d7b8bea8db
+gdb_test "p c40pt(2)" " = '1-hello.*"
diff --git a/gdb/testsuite/gdb.fortran/dwarf-stride.f90 b/gdb/testsuite/gdb.fortran/dwarf-stride.f90
new file mode 100644
-index 0000000000..e492b3af42
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dwarf-stride.f90
@@ -0,0 +1,40 @@
@@ -2866,7 +2751,6 @@ index 0000000000..e492b3af42
+end program repro
diff --git a/gdb/testsuite/gdb.fortran/dynamic.exp b/gdb/testsuite/gdb.fortran/dynamic.exp
new file mode 100644
-index 0000000000..37d435f799
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic.exp
@@ -0,0 +1,154 @@
@@ -3026,7 +2910,6 @@ index 0000000000..37d435f799
+gdb_test "p vart(2,9)" "\\$\[0-9\]* = 10"
diff --git a/gdb/testsuite/gdb.fortran/dynamic.f90 b/gdb/testsuite/gdb.fortran/dynamic.f90
new file mode 100644
-index 0000000000..0f43564378
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic.f90
@@ -0,0 +1,98 @@
@@ -3130,7 +3013,6 @@ index 0000000000..0f43564378
+end
diff --git a/gdb/testsuite/gdb.fortran/string.exp b/gdb/testsuite/gdb.fortran/string.exp
new file mode 100644
-index 0000000000..1b7c0dbf73
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/string.exp
@@ -0,0 +1,59 @@
@@ -3195,7 +3077,6 @@ index 0000000000..1b7c0dbf73
+gdb_test "p f" "\\$\[0-9\]* = \\(\\( 'f ', 'f ', 'f ', 'f ', 'f ', 'f ', 'f '\\) \\( 'f2 ', 'f ', 'f ', 'f ', 'f ', 'f ', 'f '\\) \\( 'f ', 'f ', 'f ', 'f ', 'f ', 'f ', 'f '\\) \\)" "p *f re-set"
diff --git a/gdb/testsuite/gdb.fortran/string.f90 b/gdb/testsuite/gdb.fortran/string.f90
new file mode 100644
-index 0000000000..226dc5d0ff
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/string.f90
@@ -0,0 +1,37 @@
@@ -3238,7 +3119,6 @@ index 0000000000..226dc5d0ff
+end
diff --git a/gdb/testsuite/gdb.fortran/subrange.exp b/gdb/testsuite/gdb.fortran/subrange.exp
new file mode 100644
-index 0000000000..c121ab9751
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/subrange.exp
@@ -0,0 +1,72 @@
@@ -3316,7 +3196,6 @@ index 0000000000..c121ab9751
+gdb_test {p $a (3, 2:2)} { = \(23\)}
diff --git a/gdb/testsuite/gdb.fortran/subrange.f90 b/gdb/testsuite/gdb.fortran/subrange.f90
new file mode 100644
-index 0000000000..4747ea9746
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/subrange.f90
@@ -0,0 +1,28 @@
@@ -3350,7 +3229,6 @@ index 0000000000..4747ea9746
+end
diff --git a/gdb/testsuite/gdb.mi/mi2-var-stale-type.c b/gdb/testsuite/gdb.mi/mi2-var-stale-type.c
new file mode 100644
-index 0000000000..ebced3c042
--- /dev/null
+++ b/gdb/testsuite/gdb.mi/mi2-var-stale-type.c
@@ -0,0 +1,26 @@
@@ -3382,7 +3260,6 @@ index 0000000000..ebced3c042
+}
diff --git a/gdb/testsuite/gdb.mi/mi2-var-stale-type.exp b/gdb/testsuite/gdb.mi/mi2-var-stale-type.exp
new file mode 100644
-index 0000000000..88326c0390
--- /dev/null
+++ b/gdb/testsuite/gdb.mi/mi2-var-stale-type.exp
@@ -0,0 +1,57 @@
@@ -3445,7 +3322,6 @@ index 0000000000..88326c0390
+mi_gdb_test "-var-update *" "\\^done,changelist=.*" "-var-update *"
diff --git a/gdb/testsuite/gdb.opt/array-from-register-func.c b/gdb/testsuite/gdb.opt/array-from-register-func.c
new file mode 100644
-index 0000000000..729f457c82
--- /dev/null
+++ b/gdb/testsuite/gdb.opt/array-from-register-func.c
@@ -0,0 +1,22 @@
@@ -3473,7 +3349,6 @@ index 0000000000..729f457c82
+}
diff --git a/gdb/testsuite/gdb.opt/array-from-register.c b/gdb/testsuite/gdb.opt/array-from-register.c
new file mode 100644
-index 0000000000..3090e7e631
--- /dev/null
+++ b/gdb/testsuite/gdb.opt/array-from-register.c
@@ -0,0 +1,28 @@
@@ -3507,7 +3382,6 @@ index 0000000000..3090e7e631
+}
diff --git a/gdb/testsuite/gdb.opt/array-from-register.exp b/gdb/testsuite/gdb.opt/array-from-register.exp
new file mode 100644
-index 0000000000..f2de718bc3
--- /dev/null
+++ b/gdb/testsuite/gdb.opt/array-from-register.exp
@@ -0,0 +1,33 @@
@@ -3546,7 +3420,6 @@ index 0000000000..f2de718bc3
+gdb_test "p arr\[0\]" "\\$\[0-9\]+ = 42"
diff --git a/gdb/testsuite/gdb.opt/fortran-string.exp b/gdb/testsuite/gdb.opt/fortran-string.exp
new file mode 100644
-index 0000000000..90a2bdf212
--- /dev/null
+++ b/gdb/testsuite/gdb.opt/fortran-string.exp
@@ -0,0 +1,39 @@
@@ -3591,7 +3464,6 @@ index 0000000000..90a2bdf212
+gdb_test "p s" "\\$\[0-9\]* = 'foo'"
diff --git a/gdb/testsuite/gdb.opt/fortran-string.f90 b/gdb/testsuite/gdb.opt/fortran-string.f90
new file mode 100644
-index 0000000000..e48d520085
--- /dev/null
+++ b/gdb/testsuite/gdb.opt/fortran-string.f90
@@ -0,0 +1,28 @@
@@ -3625,7 +3497,6 @@ index 0000000000..e48d520085
+ end
diff --git a/gdb/testsuite/gdb.pascal/arrays.exp b/gdb/testsuite/gdb.pascal/arrays.exp
new file mode 100644
-index 0000000000..22acdb86d8
--- /dev/null
+++ b/gdb/testsuite/gdb.pascal/arrays.exp
@@ -0,0 +1,104 @@
@@ -3735,7 +3606,6 @@ index 0000000000..22acdb86d8
+
diff --git a/gdb/testsuite/gdb.pascal/arrays.pas b/gdb/testsuite/gdb.pascal/arrays.pas
new file mode 100644
-index 0000000000..295602d68c
--- /dev/null
+++ b/gdb/testsuite/gdb.pascal/arrays.pas
@@ -0,0 +1,82 @@
@@ -3872,6 +3742,3 @@ index 03d1b1bc06..9f9e143dff 100644
}
set pascal_init_done 1
}
---
-2.14.3
-
diff --git a/gdb-archer.patch b/gdb-archer.patch
index 6fa9e05..e6ca2f2 100644
--- a/gdb-archer.patch
+++ b/gdb-archer.patch
@@ -15,27 +15,6 @@ GIT snapshot:
commit 718a1618b2f691a7f407213bb50f100ac59f91c3
tromey/python
----
- gdb/Makefile.in | 6 ++
- gdb/data-directory/Makefile.in | 4 +
- gdb/doc/gdb.texinfo | 10 +++
- gdb/doc/python.texi | 2 -
- gdb/gdb-gdb.gdb.in | 10 +++
- gdb/main.c | 93 ++++++++++++++++++-----
- gdb/python/lib/gdb/command/ignore_errors.py | 37 +++++++++
- gdb/python/lib/gdb/command/pahole.py | 81 ++++++++++++++++++++
- gdb/python/lib/gdb/function/in_scope.py | 47 ++++++++++++
- gdb/python/python-internal.h | 3 +
- gdb/python/python.c | 113 ++++++++++++++++++++++++++++
- gdb/python/python.h | 2 +
- gdb/testsuite/gdb.python/py-frame.exp | 2 +
- gdb/testsuite/gdb.python/py-value.exp | 10 +++
- gdb/varobj.c | 8 ++
- gdb/varobj.h | 2 +
- 16 files changed, 411 insertions(+), 19 deletions(-)
- create mode 100644 gdb/python/lib/gdb/command/ignore_errors.py
- create mode 100644 gdb/python/lib/gdb/command/pahole.py
- create mode 100644 gdb/python/lib/gdb/function/in_scope.py
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 3142ad6af1..28d8664236 100644
@@ -300,7 +279,6 @@ index b079e79c93..b150af4e70 100644
"), stream);
diff --git a/gdb/python/lib/gdb/command/ignore_errors.py b/gdb/python/lib/gdb/command/ignore_errors.py
new file mode 100644
-index 0000000000..6fa48ff081
--- /dev/null
+++ b/gdb/python/lib/gdb/command/ignore_errors.py
@@ -0,0 +1,37 @@
@@ -343,7 +321,6 @@ index 0000000000..6fa48ff081
+IgnoreErrorsCommand ()
diff --git a/gdb/python/lib/gdb/command/pahole.py b/gdb/python/lib/gdb/command/pahole.py
new file mode 100644
-index 0000000000..e08eaf5ca8
--- /dev/null
+++ b/gdb/python/lib/gdb/command/pahole.py
@@ -0,0 +1,81 @@
@@ -430,7 +407,6 @@ index 0000000000..e08eaf5ca8
+Pahole()
diff --git a/gdb/python/lib/gdb/function/in_scope.py b/gdb/python/lib/gdb/function/in_scope.py
new file mode 100644
-index 0000000000..8742680614
--- /dev/null
+++ b/gdb/python/lib/gdb/function/in_scope.py
@@ -0,0 +1,47 @@
@@ -724,6 +700,3 @@ index 6e80d1b89e..677547996f 100644
extern bool varobj_default_value_is_changeable_p (const struct varobj *var);
extern bool varobj_value_is_changeable_p (const struct varobj *var);
---
-2.14.3
-
diff --git a/gdb-attach-fail-reasons-5of5.patch b/gdb-attach-fail-reasons-5of5.patch
index 6ba3aa1..8e5dfa6 100644
--- a/gdb-attach-fail-reasons-5of5.patch
+++ b/gdb-attach-fail-reasons-5of5.patch
@@ -43,18 +43,6 @@ gdb/gdbserver/
* linux-low.c (linux_traceme): New function.
(linux_create_inferior, linux_tracefork_child): Call it instead of
direct ptrace.
----
- gdb/config.in | 6 +++++
- gdb/configure | 58 ++++++++++++++++++++++++++++++++++++++++++++++
- gdb/configure.ac | 4 ++++
- gdb/gdbserver/config.in | 6 +++++
- gdb/gdbserver/configure | 58 ++++++++++++++++++++++++++++++++++++++++++++++
- gdb/gdbserver/configure.ac | 4 ++++
- gdb/gdbserver/linux-low.c | 16 ++++++++++++-
- gdb/linux-nat.c | 24 ++++++++++++++++++-
- gdb/nat/linux-ptrace.c | 22 ++++++++++++++++++
- gdb/nat/linux-ptrace.h | 1 +
- 10 files changed, 197 insertions(+), 2 deletions(-)
diff --git a/gdb/config.in b/gdb/config.in
index edd7028f76..4de3e842d1 100644
@@ -393,6 +381,3 @@ index 1f960ed132..84912f909c 100644
extern void linux_check_ptrace_features (void);
extern void linux_enable_event_reporting (pid_t pid, int attached);
extern void linux_disable_event_reporting (pid_t pid);
---
-2.14.3
-
diff --git a/gdb-btrobust.patch b/gdb-btrobust.patch
index 5175ff0..9983e99 100644
--- a/gdb-btrobust.patch
+++ b/gdb-btrobust.patch
@@ -12,9 +12,6 @@ This should fix the error with glib. An error message will still be
printed, but a default backtrace will occur in this case.
--
----
- gdb/python/py-framefilter.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index e887849c36..a8e4f49eb5 100644
@@ -45,6 +42,3 @@ index e887849c36..a8e4f49eb5 100644
}
return success;
---
-2.14.3
-
diff --git a/gdb-bz1219747-attach-kills.patch b/gdb-bz1219747-attach-kills.patch
index 0572aa6..846f490 100644
--- a/gdb-bz1219747-attach-kills.patch
+++ b/gdb-bz1219747-attach-kills.patch
@@ -78,13 +78,6 @@ gdb/testsuite/ChangeLog
* gdb.base/attach-kills.c: New.
* gdb.base/attach-kills.exp: New.
----
- gdb/main.c | 5 +++-
- gdb/testsuite/gdb.base/attach-kills.c | 25 +++++++++++++++++
- gdb/testsuite/gdb.base/attach-kills.exp | 49 +++++++++++++++++++++++++++++++++
- 3 files changed, 78 insertions(+), 1 deletion(-)
- create mode 100644 gdb/testsuite/gdb.base/attach-kills.c
- create mode 100644 gdb/testsuite/gdb.base/attach-kills.exp
diff --git a/gdb/main.c b/gdb/main.c
index 17d35f4a8a..b079e79c93 100644
@@ -104,7 +97,6 @@ index 17d35f4a8a..b079e79c93 100644
}
diff --git a/gdb/testsuite/gdb.base/attach-kills.c b/gdb/testsuite/gdb.base/attach-kills.c
new file mode 100644
-index 0000000000..2398f00442
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-kills.c
@@ -0,0 +1,25 @@
@@ -135,7 +127,6 @@ index 0000000000..2398f00442
+}
diff --git a/gdb/testsuite/gdb.base/attach-kills.exp b/gdb/testsuite/gdb.base/attach-kills.exp
new file mode 100644
-index 0000000000..9a93cb7584
--- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-kills.exp
@@ -0,0 +1,49 @@
@@ -188,6 +179,3 @@ index 0000000000..9a93cb7584
+}
+
+kill_wait_spawned_process $test_spawn_id
---
-2.14.3
-
diff --git a/gdb-bz533176-fortran-omp-step.patch b/gdb-bz533176-fortran-omp-step.patch
index 84411c2..2064baf 100644
--- a/gdb-bz533176-fortran-omp-step.patch
+++ b/gdb-bz533176-fortran-omp-step.patch
@@ -28,13 +28,6 @@ upstream) or "step" (default in F/RHEL) the simultaneous execution of the
threads is inconvenient. Setting it to "on" will lockup the debugging as the
threads need to get synchronized at some point. This is a more general
debugging problem of GOMP outside of the scope of this Bug.
----
- gdb/infrun.c | 11 +++++++++++
- gdb/testsuite/gdb.fortran/omp-step.exp | 31 +++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/omp-step.f90 | 32 ++++++++++++++++++++++++++++++++
- 3 files changed, 74 insertions(+)
- create mode 100644 gdb/testsuite/gdb.fortran/omp-step.exp
- create mode 100644 gdb/testsuite/gdb.fortran/omp-step.f90
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1d0f731954..dcf022bd50 100644
@@ -67,7 +60,6 @@ index 1d0f731954..dcf022bd50 100644
/* If we are in a function call trampoline (a stub between the
diff --git a/gdb/testsuite/gdb.fortran/omp-step.exp b/gdb/testsuite/gdb.fortran/omp-step.exp
new file mode 100644
-index 0000000000..66440a7507
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/omp-step.exp
@@ -0,0 +1,31 @@
@@ -104,7 +96,6 @@ index 0000000000..66440a7507
+gdb_continue_to_breakpoint "success" ".*success.*"
diff --git a/gdb/testsuite/gdb.fortran/omp-step.f90 b/gdb/testsuite/gdb.fortran/omp-step.f90
new file mode 100644
-index 0000000000..a0cfb37014
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/omp-step.f90
@@ -0,0 +1,32 @@
@@ -140,6 +131,3 @@ index 0000000000..a0cfb37014
+ end do
+ print *, "success"
+ end
---
-2.14.3
-
diff --git a/gdb-bz541866-rwatch-before-run.patch b/gdb-bz541866-rwatch-before-run.patch
index bbb65a0..e92a775 100644
--- a/gdb-bz541866-rwatch-before-run.patch
+++ b/gdb-bz541866-rwatch-before-run.patch
@@ -8,17 +8,6 @@ FileName: gdb-bz541866-rwatch-before-run.patch
;; Fix i386+x86_64 rwatch+awatch before run, regression against 6.8 (BZ 541866).
;; Fix i386 rwatch+awatch before run (BZ 688788, on top of BZ 541866).
;;=push+jan: It should be fixed properly instead.
----
- gdb/breakpoint.c | 4 +--
- gdb/config/i386/nm-linux.h | 28 +++++++++++++++
- gdb/config/i386/nm-linux64.h | 28 +++++++++++++++
- gdb/configure.nat | 2 ++
- gdb/target.h | 2 ++
- .../gdb.base/watchpoint-hw-before-run.exp | 40 ++++++++++++++++++++++
- 6 files changed, 102 insertions(+), 2 deletions(-)
- create mode 100644 gdb/config/i386/nm-linux.h
- create mode 100644 gdb/config/i386/nm-linux64.h
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 814802a0a1..5a99de75e1 100644
@@ -44,7 +33,6 @@ index 814802a0a1..5a99de75e1 100644
target_can_use_hardware_watchpoint (bp_hardware_breakpoint,
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h
new file mode 100644
-index 0000000000..38e94baab1
--- /dev/null
+++ b/gdb/config/i386/nm-linux.h
@@ -0,0 +1,28 @@
@@ -78,7 +66,6 @@ index 0000000000..38e94baab1
+#endif /* NM_LINUX64_H */
diff --git a/gdb/config/i386/nm-linux64.h b/gdb/config/i386/nm-linux64.h
new file mode 100644
-index 0000000000..212daba477
--- /dev/null
+++ b/gdb/config/i386/nm-linux64.h
@@ -0,0 +1,28 @@
@@ -148,7 +135,6 @@ index 4781fbc59c..e3a2882fe5 100644
memory region, or zero if not supported. */
diff --git a/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp b/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp
new file mode 100644
-index 0000000000..4ce9997e4a
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp
@@ -0,0 +1,40 @@
@@ -192,6 +178,3 @@ index 0000000000..4ce9997e4a
+gdb_test "" "main .* at .*" "start"
+
+gdb_test "continue" "Continuing.\r\n\r\nHardware read watchpoint \[0-9\]+: watchee\r\n\r\nValue = 0\r\n.*"
---
-2.14.3
-
diff --git a/gdb-bz568248-oom-is-error.patch b/gdb-bz568248-oom-is-error.patch
index 9cc6fa4..e0d5f2f 100644
--- a/gdb-bz568248-oom-is-error.patch
+++ b/gdb-bz568248-oom-is-error.patch
@@ -51,9 +51,6 @@ gdb/
Tom Tromey <tromey@redhat.com>
* utils.c (nomem): Change internal_error to error.
----
- gdb/utils.c | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gdb/utils.c b/gdb/utils.c
index c531748fe4..0066bfcc4b 100644
@@ -75,6 +72,3 @@ index c531748fe4..0066bfcc4b 100644
}
}
---
-2.14.3
-
diff --git a/gdb-bz601887-dwarf4-rh-test.patch b/gdb-bz601887-dwarf4-rh-test.patch
index be0e8d9..0d08498 100644
--- a/gdb-bz601887-dwarf4-rh-test.patch
+++ b/gdb-bz601887-dwarf4-rh-test.patch
@@ -7,18 +7,9 @@ FileName: gdb-bz601887-dwarf4-rh-test.patch
;; Backport DWARF-4 support (BZ 601887, Tom Tromey).
;;=fedoratest
----
- gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S | 167 ++++++++++++++++++++++++++
- gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c | 22 ++++
- gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp | 42 +++++++
- 3 files changed, 231 insertions(+)
- create mode 100644 gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S
- create mode 100644 gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c
- create mode 100644 gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp
diff --git a/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S
new file mode 100644
-index 0000000000..48b1bbf3e1
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S
@@ -0,0 +1,167 @@
@@ -191,7 +182,6 @@ index 0000000000..48b1bbf3e1
+ .section .note.GNU-stack,"",@progbits
diff --git a/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c
new file mode 100644
-index 0000000000..46fcd120f4
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c
@@ -0,0 +1,22 @@
@@ -219,7 +209,6 @@ index 0000000000..46fcd120f4
+}
diff --git a/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp
new file mode 100644
-index 0000000000..a728f9c5ed
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp
@@ -0,0 +1,42 @@
@@ -265,6 +254,3 @@ index 0000000000..a728f9c5ed
+clean_restart $executable
+
+gdb_test "ptype main" {type = int \(void\)}
---
-2.14.3
-
diff --git a/gdb-bz634108-solib_address.patch b/gdb-bz634108-solib_address.patch
index fadc117..d68fb2b 100644
--- a/gdb-bz634108-solib_address.patch
+++ b/gdb-bz634108-solib_address.patch
@@ -11,14 +11,9 @@ FileName: gdb-bz634108-solib_address.patch
Fix gdb.solib_address (fix by Phil Muldoon).
s/solib_address/solib_name/ during upstreaming.
----
- .../gdb.python/rh634108-solib_address.exp | 24 ++++++++++++++++++++++
- 1 file changed, 24 insertions(+)
- create mode 100644 gdb/testsuite/gdb.python/rh634108-solib_address.exp
diff --git a/gdb/testsuite/gdb.python/rh634108-solib_address.exp b/gdb/testsuite/gdb.python/rh634108-solib_address.exp
new file mode 100644
-index 0000000000..c0451cf09e
--- /dev/null
+++ b/gdb/testsuite/gdb.python/rh634108-solib_address.exp
@@ -0,0 +1,24 @@
@@ -46,6 +41,3 @@ index 0000000000..c0451cf09e
+if { [skip_python_tests] } { continue }
+
+gdb_test "python print gdb.solib_name(-1)" "None" "gdb.solib_name exists"
---
-2.14.3
-
diff --git a/gdb-ccache-workaround.patch b/gdb-ccache-workaround.patch
index 712f671..d9cd975 100644
--- a/gdb-ccache-workaround.patch
+++ b/gdb-ccache-workaround.patch
@@ -7,9 +7,6 @@ FileName: gdb-ccache-workaround.patch
;; Workaround ccache making lineno non-zero for command-line definitions.
;;=fedoratest: ccache is rarely used and it is even fixed now.
----
- gdb/testsuite/gdb.base/macscp.exp | 8 ++++++++
- 1 file changed, 8 insertions(+)
diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp
index 27dc991ce9..a3b9458b44 100644
@@ -30,6 +27,3 @@ index 27dc991ce9..a3b9458b44 100644
# Generate the intermediate object file. This is required by Darwin to
# have access to the .debug_macinfo section.
if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \
---
-2.14.3
-
diff --git a/gdb-container-rh-pkg.patch b/gdb-container-rh-pkg.patch
index adfe09d..2f7fedc 100644
--- a/gdb-container-rh-pkg.patch
+++ b/gdb-container-rh-pkg.patch
@@ -7,9 +7,6 @@ FileName: gdb-container-rh-pkg.patch
;; Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114).
;;=fedora
----
- gdb/remote.c | 12 +++++++++++-
- 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gdb/remote.c b/gdb/remote.c
index 86777f1e5e..fc003c0736 100644
@@ -34,6 +31,3 @@ index 86777f1e5e..fc003c0736 100644
inf = find_inferior_pid (pid);
if (inf == NULL)
---
-2.14.3
-
diff --git a/gdb-core-open-vdso-warning.patch b/gdb-core-open-vdso-warning.patch
index fbbfa72..9368bca 100644
--- a/gdb-core-open-vdso-warning.patch
+++ b/gdb-core-open-vdso-warning.patch
@@ -17,9 +17,6 @@ Subject: [patch] Fix GNU/Linux core open: Can't read pathname for load map: Inp
commit 7d760051ffb8a23cdc51342d4e6243fbc462f73f
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Sep 25 11:52:50 2013 +0000
----
- gdb/testsuite/gdb.base/solib-symbol.exp | 23 +++++++++++++++++++++--
- 1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/gdb.base/solib-symbol.exp b/gdb/testsuite/gdb.base/solib-symbol.exp
index 20c1d47a03..893efe0b2d 100644
@@ -62,6 +59,3 @@ index 20c1d47a03..893efe0b2d 100644
+gdb_run_cmd
+gdb_test "" "warning: Could not load shared library symbols for \[0-9\]+ libraries,.*\r\nBreakpoint \[0-9\]+, main .*" \
+ "warning for missing libraries"
---
-2.14.3
-
diff --git a/gdb-dts-rhel6-python-compat.patch b/gdb-dts-rhel6-python-compat.patch
index 29c2824..9abc91e 100644
--- a/gdb-dts-rhel6-python-compat.patch
+++ b/gdb-dts-rhel6-python-compat.patch
@@ -9,15 +9,6 @@ FileName: gdb-dts-rhel6-python-compat.patch
;;=fedora
https://bugzilla.redhat.com/show_bug.cgi?id=1020004
----
- gdb/data-directory/Makefile.in | 3 +
- gdb/python/lib/gdb/FrameWrapper.py | 122 ++++++++++++++++++++++++++++++++
- gdb/python/lib/gdb/backtrace.py | 42 +++++++++++
- gdb/python/lib/gdb/command/backtrace.py | 106 +++++++++++++++++++++++++++
- 4 files changed, 273 insertions(+)
- create mode 100644 gdb/python/lib/gdb/FrameWrapper.py
- create mode 100644 gdb/python/lib/gdb/backtrace.py
- create mode 100644 gdb/python/lib/gdb/command/backtrace.py
diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index 753e0b69a3..5c7c0b4c2e 100644
@@ -42,7 +33,6 @@ index 753e0b69a3..5c7c0b4c2e 100644
gdb/command/prompt.py \
diff --git a/gdb/python/lib/gdb/FrameWrapper.py b/gdb/python/lib/gdb/FrameWrapper.py
new file mode 100644
-index 0000000000..34ba4a2a12
--- /dev/null
+++ b/gdb/python/lib/gdb/FrameWrapper.py
@@ -0,0 +1,122 @@
@@ -170,7 +160,6 @@ index 0000000000..34ba4a2a12
+ return getattr (self.frame, name)
diff --git a/gdb/python/lib/gdb/backtrace.py b/gdb/python/lib/gdb/backtrace.py
new file mode 100644
-index 0000000000..06c893f239
--- /dev/null
+++ b/gdb/python/lib/gdb/backtrace.py
@@ -0,0 +1,42 @@
@@ -218,7 +207,6 @@ index 0000000000..06c893f239
+
diff --git a/gdb/python/lib/gdb/command/backtrace.py b/gdb/python/lib/gdb/command/backtrace.py
new file mode 100644
-index 0000000000..eeea9093e8
--- /dev/null
+++ b/gdb/python/lib/gdb/command/backtrace.py
@@ -0,0 +1,106 @@
@@ -328,6 +316,3 @@ index 0000000000..eeea9093e8
+ pair[1].describe (sys.stdout, full)
+
+FilteringBacktrace()
---
-2.14.3
-
diff --git a/gdb-fedora-libncursesw.patch b/gdb-fedora-libncursesw.patch
index 5dccee0..bc1c8d0 100644
--- a/gdb-fedora-libncursesw.patch
+++ b/gdb-fedora-libncursesw.patch
@@ -10,10 +10,6 @@ FileName: gdb-fedora-libncursesw.patch
Fedora: Force libncursesw over libncurses to match the includes.
https://bugzilla.redhat.com/show_bug.cgi?id=1270534
----
- gdb/configure | 6 ++++--
- gdb/configure.ac | 6 ++++--
- 2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/gdb/configure b/gdb/configure
index 6fb5b5b509..db849572b5 100755
@@ -77,6 +73,3 @@ index d891c7bccc..4412e25450 100644
if test "$ac_cv_search_tgetent" = no; then
CONFIG_OBS="$CONFIG_OBS stub-termcap.o"
---
-2.14.3
-
diff --git a/gdb-follow-child-stale-parent.patch b/gdb-follow-child-stale-parent.patch
index 6703a3a..fa95113 100644
--- a/gdb-follow-child-stale-parent.patch
+++ b/gdb-follow-child-stale-parent.patch
@@ -22,9 +22,6 @@ unwinders try to access it, breaking:
+FAIL: gdb.threads/watchpoint-fork.exp: child: singlethreaded: breakpoint after the second fork
+FAIL: gdb.threads/watchpoint-fork.exp: child: singlethreaded: watchpoint after the second fork
+FAIL: gdb.threads/watchpoint-fork.exp: child: singlethreaded: finish
----
- gdb/infrun.c | 3 +++
- 1 file changed, 3 insertions(+)
diff --git a/gdb/infrun.c b/gdb/infrun.c
index dcf022bd50..b468d02fd6 100644
@@ -40,6 +37,3 @@ index dcf022bd50..b468d02fd6 100644
/* This pending follow fork event is now handled, one way
or another. The previous selected thread may be gone
from the lists by now, but if it is still around, need
---
-2.14.3
-
diff --git a/gdb-fortran-frame-string.patch b/gdb-fortran-frame-string.patch
index 7d7f3a6..2c52d65 100644
--- a/gdb-fortran-frame-string.patch
+++ b/gdb-fortran-frame-string.patch
@@ -29,16 +29,9 @@ No regressions on {x86_64,x86_64-m32,i686}-fedora22pre-linux-gnu.
Thanks,
Jan
----
- gdb/testsuite/gdb.fortran/fortran-frame-string.exp | 36 ++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/fortran-frame-string.f90 | 28 +++++++++++++++++
- 2 files changed, 64 insertions(+)
- create mode 100644 gdb/testsuite/gdb.fortran/fortran-frame-string.exp
- create mode 100644 gdb/testsuite/gdb.fortran/fortran-frame-string.f90
diff --git a/gdb/testsuite/gdb.fortran/fortran-frame-string.exp b/gdb/testsuite/gdb.fortran/fortran-frame-string.exp
new file mode 100644
-index 0000000000..7114afd440
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/fortran-frame-string.exp
@@ -0,0 +1,36 @@
@@ -80,7 +73,6 @@ index 0000000000..7114afd440
+gdb_test "frame" { \(s='foo', .*}
diff --git a/gdb/testsuite/gdb.fortran/fortran-frame-string.f90 b/gdb/testsuite/gdb.fortran/fortran-frame-string.f90
new file mode 100644
-index 0000000000..3d1576fb1f
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/fortran-frame-string.f90
@@ -0,0 +1,28 @@
@@ -112,6 +104,3 @@ index 0000000000..3d1576fb1f
+ program main
+ call f ('foo')
+ end
---
-2.14.3
-
diff --git a/gdb-gdb-add-index-script.patch b/gdb-gdb-add-index-script.patch
index a4a2620..3d3da92 100644
--- a/gdb-gdb-add-index-script.patch
+++ b/gdb-gdb-add-index-script.patch
@@ -39,11 +39,6 @@ From: Tom Tromey <tromey@redhat.com>
Date: Fri, 9 Jul 2010 11:17:54 -0600
Subject: [PATCH 4/4] add gdb-add-index
Subject: [PATCH 4/4] add gdb-add-index
----
- gdb/Makefile.in | 9 +++++++++
- gdb/doc/Makefile.in | 9 ++++++++-
- gdb/doc/gdb.texinfo | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++
- 3 files changed, 74 insertions(+), 1 deletion(-)
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index e77d6a5c03..3142ad6af1 100644
@@ -174,6 +169,3 @@ index 2f2cbd3dea..7b99ae1551 100644
@include gpl.texi
@node GNU Free Documentation License
---
-2.14.3
-
diff --git a/gdb-glibc-strstr-workaround.patch b/gdb-glibc-strstr-workaround.patch
index bcbb531..ca6117a 100644
--- a/gdb-glibc-strstr-workaround.patch
+++ b/gdb-glibc-strstr-workaround.patch
@@ -7,11 +7,6 @@ FileName: gdb-glibc-strstr-workaround.patch
;; Workaround PR libc/14166 for inferior calls of strstr.
;;=fedora: Compatibility with RHELs (unchecked which ones).
----
- gdb/dwarf2read.c | 20 ++++
- .../gdb.base/gnu-ifunc-strstr-workaround.exp | 108 +++++++++++++++++++++
- 2 files changed, 128 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index c8db955f2f..6ebe00f542 100644
@@ -46,7 +41,6 @@ index c8db955f2f..6ebe00f542 100644
/* Fortran does not have mangling standard and the mangling does differ
diff --git a/gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp b/gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp
new file mode 100644
-index 0000000000..5469cd7354
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp
@@ -0,0 +1,108 @@
@@ -158,6 +152,3 @@ index 0000000000..5469cd7354
+
+gdb_test {print strstr("abc","b")} { = 0x[0-9a-f]+ "bc"}
+gdb_test {print strstr("def","e")} { = 0x[0-9a-f]+ "ef"}
---
-2.14.3
-
diff --git a/gdb-gnat-dwarf-crash-3of3.patch b/gdb-gnat-dwarf-crash-3of3.patch
index a33689b..f75d144 100644
--- a/gdb-gnat-dwarf-crash-3of3.patch
+++ b/gdb-gnat-dwarf-crash-3of3.patch
@@ -40,9 +40,6 @@ gdb/
2014-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (process_die): Change gdb_assert to complaint.
----
- gdb/dwarf2read.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index fbaa0af64f..2c972d5e74 100644
@@ -63,6 +60,3 @@ index fbaa0af64f..2c972d5e74 100644
process_die_scope scope (die, cu);
switch (die->tag)
---
-2.14.3
-
diff --git a/gdb-jit-reader-multilib.patch b/gdb-jit-reader-multilib.patch
index 56c86ac..f9ccfd1 100644
--- a/gdb-jit-reader-multilib.patch
+++ b/gdb-jit-reader-multilib.patch
@@ -7,10 +7,6 @@ FileName: gdb-jit-reader-multilib.patch
;; Fix jit-reader.h for multi-lib.
;;=push+jan
----
- gdb/configure | 8 +++++---
- gdb/configure.ac | 8 +++++---
- 2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/gdb/configure b/gdb/configure
index 904cc453ad..6fb5b5b509 100755
@@ -52,6 +48,3 @@ index 1557760ed8..d891c7bccc 100644
elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then
TARGET_PTR="unsigned __int128"
else
---
-2.14.3
-
diff --git a/gdb-libexec-add-index.patch b/gdb-libexec-add-index.patch
index f127bab..483413b 100644
--- a/gdb-libexec-add-index.patch
+++ b/gdb-libexec-add-index.patch
@@ -7,9 +7,6 @@ FileName: gdb-libexec-add-index.patch
;; Fix gdb-headless /usr/bin/ executables (BZ 1390251).
;;=fedora
----
- gdb/contrib/gdb-add-index.sh | 5 +++++
- 1 file changed, 5 insertions(+)
diff --git a/gdb/contrib/gdb-add-index.sh b/gdb/contrib/gdb-add-index.sh
index 71146966ab..500b2f62d5 100755
@@ -27,6 +24,3 @@ index 71146966ab..500b2f62d5 100755
myname="${0##*/}"
if test $# != 1; then
---
-2.14.3
-
diff --git a/gdb-lineno-makeup-test.patch b/gdb-lineno-makeup-test.patch
index e93b285..cf4b40b 100644
--- a/gdb-lineno-makeup-test.patch
+++ b/gdb-lineno-makeup-test.patch
@@ -15,18 +15,9 @@ and the upstream fix:
http://sourceware.org/ml/gdb-patches/2006-11/msg00253.html
[rfc] Do not make up line information
http://sourceware.org/ml/gdb-cvs/2006-11/msg00127.html
----
- gdb/testsuite/gdb.base/lineno-makeup-func.c | 21 ++++++++
- gdb/testsuite/gdb.base/lineno-makeup.c | 35 +++++++++++++
- gdb/testsuite/gdb.base/lineno-makeup.exp | 78 +++++++++++++++++++++++++++++
- 3 files changed, 134 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/lineno-makeup-func.c
- create mode 100644 gdb/testsuite/gdb.base/lineno-makeup.c
- create mode 100644 gdb/testsuite/gdb.base/lineno-makeup.exp
diff --git a/gdb/testsuite/gdb.base/lineno-makeup-func.c b/gdb/testsuite/gdb.base/lineno-makeup-func.c
new file mode 100644
-index 0000000000..1a0220ea52
--- /dev/null
+++ b/gdb/testsuite/gdb.base/lineno-makeup-func.c
@@ -0,0 +1,21 @@
@@ -53,7 +44,6 @@ index 0000000000..1a0220ea52
+}
diff --git a/gdb/testsuite/gdb.base/lineno-makeup.c b/gdb/testsuite/gdb.base/lineno-makeup.c
new file mode 100644
-index 0000000000..5d4be90999
--- /dev/null
+++ b/gdb/testsuite/gdb.base/lineno-makeup.c
@@ -0,0 +1,35 @@
@@ -94,7 +84,6 @@ index 0000000000..5d4be90999
+}
diff --git a/gdb/testsuite/gdb.base/lineno-makeup.exp b/gdb/testsuite/gdb.base/lineno-makeup.exp
new file mode 100644
-index 0000000000..9e11d78bf9
--- /dev/null
+++ b/gdb/testsuite/gdb.base/lineno-makeup.exp
@@ -0,0 +1,78 @@
@@ -176,6 +165,3 @@ index 0000000000..9e11d78bf9
+ fail $test
+ }
+}
---
-2.14.3
-
diff --git a/gdb-linux_perf-bundle.patch b/gdb-linux_perf-bundle.patch
index ca67f5a..b1ab85b 100644
--- a/gdb-linux_perf-bundle.patch
+++ b/gdb-linux_perf-bundle.patch
@@ -7,12 +7,6 @@ FileName: gdb-linux_perf-bundle.patch
;; [dts+el7] [x86*] Bundle linux_perf.h for libipt (RH BZ 1256513).
;;=fedora
----
- gdb/configure | 2 +-
- gdb/configure.ac | 2 +-
- gdb/gdb.c | 8 +++
- gdb/nat/linux-btrace.h | 171 +++++++++++++++++++++++++++++++++++++++++++++++++
- 4 files changed, 181 insertions(+), 2 deletions(-)
diff --git a/gdb/configure b/gdb/configure
index db849572b5..7720c00f4b 100755
@@ -246,6 +240,3 @@ index 31a8d9e67b..72faf23c5f 100644
struct target_ops;
#if HAVE_LINUX_PERF_EVENT_H
---
-2.14.3
-
diff --git a/gdb-moribund-utrace-workaround.patch b/gdb-moribund-utrace-workaround.patch
index fcdb2d4..3331f4d 100644
--- a/gdb-moribund-utrace-workaround.patch
+++ b/gdb-moribund-utrace-workaround.patch
@@ -12,9 +12,6 @@ https://bugzilla.redhat.com/show_bug.cgi?id=590623
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11593
Bug in FSF GDB exploited by the ptrace-on-utrace interaction.
----
- gdb/breakpoint.c | 2 ++
- 1 file changed, 2 insertions(+)
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 5a99de75e1..6a0c15b239 100644
@@ -29,6 +26,3 @@ index 5a99de75e1..6a0c15b239 100644
old_loc->owner = NULL;
VEC_safe_push (bp_location_p, moribund_locations, old_loc);
---
-2.14.3
-
diff --git a/gdb-opcodes-clflushopt-test.patch b/gdb-opcodes-clflushopt-test.patch
index 87f64ab..ed7b70c 100644
--- a/gdb-opcodes-clflushopt-test.patch
+++ b/gdb-opcodes-clflushopt-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-opcodes-clflushopt-test.patch
;; Test clflushopt instruction decode (for RH BZ 1262471).
;;=fedoratest
----
- gdb/testsuite/gdb.arch/amd64-clflushopt.S | 19 +++++++++++++++++++
- gdb/testsuite/gdb.arch/amd64-clflushopt.exp | 25 +++++++++++++++++++++++++
- 2 files changed, 44 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/amd64-clflushopt.S
- create mode 100644 gdb/testsuite/gdb.arch/amd64-clflushopt.exp
diff --git a/gdb/testsuite/gdb.arch/amd64-clflushopt.S b/gdb/testsuite/gdb.arch/amd64-clflushopt.S
new file mode 100644
-index 0000000000..dee4f006dc
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/amd64-clflushopt.S
@@ -0,0 +1,19 @@
@@ -41,7 +34,6 @@ index 0000000000..dee4f006dc
+ clflushopt (%edi)
diff --git a/gdb/testsuite/gdb.arch/amd64-clflushopt.exp b/gdb/testsuite/gdb.arch/amd64-clflushopt.exp
new file mode 100644
-index 0000000000..22a9decee2
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/amd64-clflushopt.exp
@@ -0,0 +1,25 @@
@@ -70,6 +62,3 @@ index 0000000000..22a9decee2
+}
+
+gdb_test "disas _start" "Dump of assembler code for function _start:\r\n *0x\[0-9a-f\]+ <\[+\]0>:\tclflushopt \\(%edi\\)\r\nEnd of assembler dump\\." "clflushopt"
---
-2.14.3
-
diff --git a/gdb-physname-pr11734-test.patch b/gdb-physname-pr11734-test.patch
index 175f70f..5901e46 100644
--- a/gdb-physname-pr11734-test.patch
+++ b/gdb-physname-pr11734-test.patch
@@ -9,24 +9,9 @@ FileName: gdb-physname-pr11734-test.patch
;;=fedoratest
http://sourceware.org/ml/gdb-patches/2010-12/msg00263.html
----
- gdb/testsuite/gdb.cp/pr11734-1.cc | 30 +++++++++++++++++++++
- gdb/testsuite/gdb.cp/pr11734-2.cc | 27 +++++++++++++++++++
- gdb/testsuite/gdb.cp/pr11734-3.cc | 27 +++++++++++++++++++
- gdb/testsuite/gdb.cp/pr11734-4.cc | 27 +++++++++++++++++++
- gdb/testsuite/gdb.cp/pr11734.exp | 55 +++++++++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.cp/pr11734.h | 28 ++++++++++++++++++++
- 6 files changed, 194 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/pr11734-1.cc
- create mode 100644 gdb/testsuite/gdb.cp/pr11734-2.cc
- create mode 100644 gdb/testsuite/gdb.cp/pr11734-3.cc
- create mode 100644 gdb/testsuite/gdb.cp/pr11734-4.cc
- create mode 100644 gdb/testsuite/gdb.cp/pr11734.exp
- create mode 100644 gdb/testsuite/gdb.cp/pr11734.h
diff --git a/gdb/testsuite/gdb.cp/pr11734-1.cc b/gdb/testsuite/gdb.cp/pr11734-1.cc
new file mode 100644
-index 0000000000..f3480ce977
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-1.cc
@@ -0,0 +1,30 @@
@@ -62,7 +47,6 @@ index 0000000000..f3480ce977
+
diff --git a/gdb/testsuite/gdb.cp/pr11734-2.cc b/gdb/testsuite/gdb.cp/pr11734-2.cc
new file mode 100644
-index 0000000000..dbebe8281a
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-2.cc
@@ -0,0 +1,27 @@
@@ -95,7 +79,6 @@ index 0000000000..dbebe8281a
+
diff --git a/gdb/testsuite/gdb.cp/pr11734-3.cc b/gdb/testsuite/gdb.cp/pr11734-3.cc
new file mode 100644
-index 0000000000..faaeffc9dd
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-3.cc
@@ -0,0 +1,27 @@
@@ -128,7 +111,6 @@ index 0000000000..faaeffc9dd
+
diff --git a/gdb/testsuite/gdb.cp/pr11734-4.cc b/gdb/testsuite/gdb.cp/pr11734-4.cc
new file mode 100644
-index 0000000000..6edf8110f1
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-4.cc
@@ -0,0 +1,27 @@
@@ -161,7 +143,6 @@ index 0000000000..6edf8110f1
+
diff --git a/gdb/testsuite/gdb.cp/pr11734.exp b/gdb/testsuite/gdb.cp/pr11734.exp
new file mode 100644
-index 0000000000..e731d422f6
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734.exp
@@ -0,0 +1,55 @@
@@ -222,7 +203,6 @@ index 0000000000..e731d422f6
+return 0
diff --git a/gdb/testsuite/gdb.cp/pr11734.h b/gdb/testsuite/gdb.cp/pr11734.h
new file mode 100644
-index 0000000000..7f6e72a685
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734.h
@@ -0,0 +1,28 @@
@@ -254,6 +234,3 @@ index 0000000000..7f6e72a685
+ void foo (char *);
+};
+
---
-2.14.3
-
diff --git a/gdb-physname-pr12273-test.patch b/gdb-physname-pr12273-test.patch
index ed6db4c..4d826c7 100644
--- a/gdb-physname-pr12273-test.patch
+++ b/gdb-physname-pr12273-test.patch
@@ -9,16 +9,9 @@ FileName: gdb-physname-pr12273-test.patch
;;=fedoratest
http://sourceware.org/ml/gdb-patches/2010-12/msg00264.html
----
- gdb/testsuite/gdb.cp/pr12273.cc | 37 ++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.cp/pr12273.exp | 46 ++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 83 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/pr12273.cc
- create mode 100644 gdb/testsuite/gdb.cp/pr12273.exp
diff --git a/gdb/testsuite/gdb.cp/pr12273.cc b/gdb/testsuite/gdb.cp/pr12273.cc
new file mode 100644
-index 0000000000..79dd7bad74
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr12273.cc
@@ -0,0 +1,37 @@
@@ -61,7 +54,6 @@ index 0000000000..79dd7bad74
+}
diff --git a/gdb/testsuite/gdb.cp/pr12273.exp b/gdb/testsuite/gdb.cp/pr12273.exp
new file mode 100644
-index 0000000000..9d71482742
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr12273.exp
@@ -0,0 +1,46 @@
@@ -111,6 +103,3 @@ index 0000000000..9d71482742
+}
+
+gdb_exit
---
-2.14.3
-
diff --git a/gdb-ppc-power7-test.patch b/gdb-ppc-power7-test.patch
index 2aa1970..6d5fe6c 100644
--- a/gdb-ppc-power7-test.patch
+++ b/gdb-ppc-power7-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-ppc-power7-test.patch
;; Test power7 ppc disassembly.
;;=fedoratest
----
- gdb/testsuite/gdb.arch/powerpc-power7rh.exp | 178 ++++++++++++++++++++++++++++
- gdb/testsuite/gdb.arch/powerpc-power7rh.s | 107 +++++++++++++++++
- 2 files changed, 285 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-power7rh.exp
- create mode 100644 gdb/testsuite/gdb.arch/powerpc-power7rh.s
diff --git a/gdb/testsuite/gdb.arch/powerpc-power7rh.exp b/gdb/testsuite/gdb.arch/powerpc-power7rh.exp
new file mode 100644
-index 0000000000..0c2bbdaede
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.exp
@@ -0,0 +1,178 @@
@@ -200,7 +193,6 @@ index 0000000000..0c2bbdaede
+func_check 0x19c "isel r2,r3,r4,28"
diff --git a/gdb/testsuite/gdb.arch/powerpc-power7rh.s b/gdb/testsuite/gdb.arch/powerpc-power7rh.s
new file mode 100644
-index 0000000000..98b2e797e7
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.s
@@ -0,0 +1,107 @@
@@ -311,6 +303,3 @@ index 0000000000..98b2e797e7
+ .long 0xedc07834 /* 194: frsqrtes f14,f15 */
+ .long 0xedc07835 /* 198: frsqrtes. f14,f15 */
+ .long 0x7c43271e /* 19c: isel r2,r3,r4,28 */
---
-2.14.3
-
diff --git a/gdb-ppc64-stwux-tautological-compare.patch b/gdb-ppc64-stwux-tautological-compare.patch
index 1847a40..4325e17 100644
--- a/gdb-ppc64-stwux-tautological-compare.patch
+++ b/gdb-ppc64-stwux-tautological-compare.patch
@@ -34,9 +34,6 @@ gdb/ChangeLog
2018-02-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* rs6000-tdep.c (skip_prologue): Fix stwux encoding.
----
- gdb/rs6000-tdep.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 23d0db3b8f..5275ff5b91 100644
@@ -51,6 +48,3 @@ index 23d0db3b8f..5275ff5b91 100644
{ /* stwux rX,r1,rY */
/* No way to figure out what r1 is going to be. */
fdata->frameless = 0;
---
-2.14.3
-
diff --git a/gdb-python-gil.patch b/gdb-python-gil.patch
index 8f4e09d..72e9302 100644
--- a/gdb-python-gil.patch
+++ b/gdb-python-gil.patch
@@ -7,17 +7,6 @@ FileName: gdb-python-gil.patch
;; Fix Python GIL with gdb.execute("continue") (Phil Muldoon, BZ 1116957).
;;=push
----
- gdb/doc/python.texi | 8 ++++
- gdb/python/python-internal.h | 2 +
- gdb/python/python.c | 42 +++++++++++++++---
- gdb/testsuite/gdb.python/py-gil-mthread.c | 13 ++++++
- gdb/testsuite/gdb.python/py-gil-mthread.exp | 69 +++++++++++++++++++++++++++++
- gdb/testsuite/gdb.python/py-gil-mthread.py | 28 ++++++++++++
- 6 files changed, 157 insertions(+), 5 deletions(-)
- create mode 100644 gdb/testsuite/gdb.python/py-gil-mthread.c
- create mode 100644 gdb/testsuite/gdb.python/py-gil-mthread.exp
- create mode 100644 gdb/testsuite/gdb.python/py-gil-mthread.py
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index ebd48fffe7..ccf011e35e 100644
@@ -131,7 +120,6 @@ index 4844c86c54..610dda828c 100644
diff --git a/gdb/testsuite/gdb.python/py-gil-mthread.c b/gdb/testsuite/gdb.python/py-gil-mthread.c
new file mode 100644
-index 0000000000..1a12fc9c6d
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gil-mthread.c
@@ -0,0 +1,13 @@
@@ -150,7 +138,6 @@ index 0000000000..1a12fc9c6d
+}
diff --git a/gdb/testsuite/gdb.python/py-gil-mthread.exp b/gdb/testsuite/gdb.python/py-gil-mthread.exp
new file mode 100644
-index 0000000000..a89c16a45b
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gil-mthread.exp
@@ -0,0 +1,69 @@
@@ -225,7 +212,6 @@ index 0000000000..a89c16a45b
+}
diff --git a/gdb/testsuite/gdb.python/py-gil-mthread.py b/gdb/testsuite/gdb.python/py-gil-mthread.py
new file mode 100644
-index 0000000000..6a89964139
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gil-mthread.py
@@ -0,0 +1,28 @@
@@ -257,6 +243,3 @@ index 0000000000..6a89964139
+
+while 1:
+ pass
---
-2.14.3
-
diff --git a/gdb-readline62-ask-more-rh.patch b/gdb-readline62-ask-more-rh.patch
index f59b01b..caf3d33 100644
--- a/gdb-readline62-ask-more-rh.patch
+++ b/gdb-readline62-ask-more-rh.patch
@@ -7,9 +7,6 @@ FileName: gdb-readline62-ask-more-rh.patch
;; Work around readline-6.2 incompatibility not asking for --more-- (BZ 701131).
;;=fedora
----
- gdb/event-top.c | 7 +++++++
- 1 file changed, 7 insertions(+)
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 0d668f35e0..4aa26125f9 100644
@@ -29,6 +26,3 @@ index 0d668f35e0..4aa26125f9 100644
/* This function is a noop for the sync case. The assumption is
that the sync setup is ALL done in gdb_init, and we would only
mess it up here. The sync stuff should really go away over
---
-2.14.3
-
diff --git a/gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch b/gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
index be0cfce..f45095c 100644
--- a/gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
+++ b/gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
@@ -7,16 +7,9 @@ FileName: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
;; Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
;;=fedoratest
----
- gdb/testsuite/gdb.base/set-solib-absolute-prefix.c | 26 +++++++++++++++
- .../gdb.base/set-solib-absolute-prefix.exp | 39 ++++++++++++++++++++++
- 2 files changed, 65 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/set-solib-absolute-prefix.c
- create mode 100644 gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp
diff --git a/gdb/testsuite/gdb.base/set-solib-absolute-prefix.c b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.c
new file mode 100644
-index 0000000000..2675a34f1a
--- /dev/null
+++ b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.c
@@ -0,0 +1,26 @@
@@ -48,7 +41,6 @@ index 0000000000..2675a34f1a
+}
diff --git a/gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp
new file mode 100644
-index 0000000000..bb4c8b962b
--- /dev/null
+++ b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp
@@ -0,0 +1,39 @@
@@ -91,6 +83,3 @@ index 0000000000..bb4c8b962b
+ ".*warning: Unable to find dynamic linker breakpoint function.*" \
+ "set solib-absolute-prefix"
+gdb_test "bt" "__kernel_vsyscall.*" "backtrace with __kernel_vsyscall"
---
-2.14.3
-
diff --git a/gdb-rhbz1007614-memleak-infpy_read_memory-test.patch b/gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
index fb21929..a4ff75a 100644
--- a/gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
+++ b/gdb-rhbz1007614-memleak-infpy_read_memory-test.patch
@@ -29,18 +29,9 @@ Date: Wed Mar 28 17:38:08 2012 +0000
* python/py-inferior.c (infpy_read_memory): Remove cleanups and
explicitly free 'buffer' on exit paths. Decref 'membuf_object'
before returning.
----
- .../py-gdb-rhbz1007614-memleak-infpy_read_memory.c | 27 +++++++++
- ...y-gdb-rhbz1007614-memleak-infpy_read_memory.exp | 68 ++++++++++++++++++++++
- ...py-gdb-rhbz1007614-memleak-infpy_read_memory.py | 30 ++++++++++
- 3 files changed, 125 insertions(+)
- create mode 100644 gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.c
- create mode 100644 gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.exp
- create mode 100644 gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.py
diff --git a/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.c b/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.c
new file mode 100644
-index 0000000000..f2697efa9a
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.c
@@ -0,0 +1,27 @@
@@ -73,7 +64,6 @@ index 0000000000..f2697efa9a
+}
diff --git a/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.exp b/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.exp
new file mode 100644
-index 0000000000..2e6786d499
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.exp
@@ -0,0 +1,68 @@
@@ -147,7 +137,6 @@ index 0000000000..2e6786d499
+}
diff --git a/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.py b/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.py
new file mode 100644
-index 0000000000..e807728047
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gdb-rhbz1007614-memleak-infpy_read_memory.py
@@ -0,0 +1,30 @@
@@ -181,6 +170,3 @@ index 0000000000..e807728047
+ print "Hello, World!"
+
+HelloWorld ()
---
-2.14.3
-
diff --git a/gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch b/gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
index 7a41516..eab1ca5 100644
--- a/gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
+++ b/gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
@@ -12,20 +12,9 @@ FileName: gdb-rhbz1084404-ppc64-s390x-wrong-prologue-skip-O2-g-3of3.patch
These testcases have been created by compiling glibc-2.17-78 on
RHEL-7.1 s390x/ppc64 boxes, and then taking the "select.o" file
present at $builddir/misc/select.o.
----
- gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp | 34 ++++++++++++
- gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu | 70 +++++++++++++++++++++++++
- gdb/testsuite/gdb.arch/s390x-prologue-skip.exp | 34 ++++++++++++
- gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu | 64 ++++++++++++++++++++++
- 4 files changed, 202 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp
- create mode 100644 gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu
- create mode 100644 gdb/testsuite/gdb.arch/s390x-prologue-skip.exp
- create mode 100644 gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu
diff --git a/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp
new file mode 100644
-index 0000000000..2f54c1f981
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp
@@ -0,0 +1,34 @@
@@ -65,7 +54,6 @@ index 0000000000..2f54c1f981
+gdb_test "break ___newselect_nocancel" "Breakpoint $decimal at 0xc: file ../sysdeps/unix/syscall-template.S, line 81." "breakpoint on ___newselect_nocancel"
diff --git a/gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu
new file mode 100644
-index 0000000000..9196bbac47
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu
@@ -0,0 +1,70 @@
@@ -141,7 +129,6 @@ index 0000000000..9196bbac47
+end
diff --git a/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp b/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp
new file mode 100644
-index 0000000000..df3acf8c02
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp
@@ -0,0 +1,34 @@
@@ -181,7 +168,6 @@ index 0000000000..df3acf8c02
+gdb_test "break select" "Breakpoint $decimal at 0x48: file ../sysdeps/unix/syscall-template.S, line 81." "breakpoint on select"
diff --git a/gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu b/gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu
new file mode 100644
-index 0000000000..6442e6048d
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu
@@ -0,0 +1,64 @@
@@ -249,6 +235,3 @@ index 0000000000..6442e6048d
+L````(`````$````%````````````````````/`````$````%`````````$@`
+`
+end
---
-2.14.3
-
diff --git a/gdb-rhbz1149205-catch-syscall-after-fork-test.patch b/gdb-rhbz1149205-catch-syscall-after-fork-test.patch
index 893043c..a1660dc 100644
--- a/gdb-rhbz1149205-catch-syscall-after-fork-test.patch
+++ b/gdb-rhbz1149205-catch-syscall-after-fork-test.patch
@@ -43,16 +43,9 @@ Author: Philippe Waroquiers <philippe@sourceware.org>
Date: Tue May 21 18:47:05 2013 +0000
Fix internal error caused by interaction between catch signal and fork
----
- .../gdb.base/gdb-rhbz1149205-catch-syscall-fork.c | 11 ++++
- .../gdb-rhbz1149205-catch-syscall-fork.exp | 58 ++++++++++++++++++++++
- 2 files changed, 69 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c
- create mode 100644 gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp
diff --git a/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c
new file mode 100644
-index 0000000000..947258e22f
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c
@@ -0,0 +1,11 @@
@@ -69,7 +62,6 @@ index 0000000000..947258e22f
+}
diff --git a/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp
new file mode 100644
-index 0000000000..96d31d7018
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp
@@ -0,0 +1,58 @@
@@ -131,6 +123,3 @@ index 0000000000..96d31d7018
+gdb_test "continue" \
+ "Continuing\.\r\n.*\r\nCatchpoint $decimal \\\(call to syscall .?chdir.?.*" \
+ "continue from catch syscall after fork"
---
-2.14.3
-
diff --git a/gdb-rhbz1156192-recursive-dlopen-test.patch b/gdb-rhbz1156192-recursive-dlopen-test.patch
index 1478ef0..31f5104 100644
--- a/gdb-rhbz1156192-recursive-dlopen-test.patch
+++ b/gdb-rhbz1156192-recursive-dlopen-test.patch
@@ -8,20 +8,9 @@ FileName: gdb-rhbz1156192-recursive-dlopen-test.patch
;; Testcase for '[SAP] Recursive dlopen causes SAP HANA installer to
;; crash.' (RH BZ 1156192).
;;=fedoratest
----
- .../gdb-rhbz1156192-recursive-dlopen-libbar.c | 30 +++++
- .../gdb-rhbz1156192-recursive-dlopen-libfoo.c | 30 +++++
- .../gdb.base/gdb-rhbz1156192-recursive-dlopen.c | 124 +++++++++++++++++++
- .../gdb.base/gdb-rhbz1156192-recursive-dlopen.exp | 137 +++++++++++++++++++++
- 4 files changed, 321 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c
- create mode 100644 gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c
- create mode 100644 gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c
- create mode 100644 gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp
diff --git a/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c
new file mode 100644
-index 0000000000..6ecf50d2ad
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c
@@ -0,0 +1,30 @@
@@ -57,7 +46,6 @@ index 0000000000..6ecf50d2ad
+}
diff --git a/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c
new file mode 100644
-index 0000000000..e4523933db
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c
@@ -0,0 +1,30 @@
@@ -93,7 +81,6 @@ index 0000000000..e4523933db
+}
diff --git a/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c
new file mode 100644
-index 0000000000..17b29904ef
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c
@@ -0,0 +1,124 @@
@@ -223,7 +210,6 @@ index 0000000000..17b29904ef
+}
diff --git a/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp
new file mode 100644
-index 0000000000..2c32676e50
--- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp
@@ -0,0 +1,137 @@
@@ -364,6 +350,3 @@ index 0000000000..2c32676e50
+}
+
+test_stop_on_solib_events
---
-2.14.3
-
diff --git a/gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch b/gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
index 8baacf8..2b53ec5 100644
--- a/gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
+++ b/gdb-rhbz1186476-internal-error-unqualified-name-re-set-test.patch
@@ -20,18 +20,9 @@ Comments from Sergio Durigan Junior:
allows the user to continue the debugging session), and tell the
user that, although more than one location was found for his/her
breakpoint, only one will be used.
----
- ...-internal-error-unqualified-name-re-set-main.cc | 22 ++++++++++
- ...86476-internal-error-unqualified-name-re-set.cc | 26 +++++++++++
- ...6476-internal-error-unqualified-name-re-set.exp | 51 ++++++++++++++++++++++
- 3 files changed, 99 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set-main.cc
- create mode 100644 gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.cc
- create mode 100644 gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.exp
diff --git a/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set-main.cc b/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set-main.cc
new file mode 100644
-index 0000000000..1c9f8eabc1
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set-main.cc
@@ -0,0 +1,22 @@
@@ -59,7 +50,6 @@ index 0000000000..1c9f8eabc1
+}
diff --git a/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.cc b/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.cc
new file mode 100644
-index 0000000000..007854b0c4
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.cc
@@ -0,0 +1,26 @@
@@ -91,7 +81,6 @@ index 0000000000..007854b0c4
+C b (1);
diff --git a/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.exp b/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.exp
new file mode 100644
-index 0000000000..19b2530969
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb-rhbz1186476-internal-error-unqualified-name-re-set.exp
@@ -0,0 +1,51 @@
@@ -146,6 +135,3 @@ index 0000000000..19b2530969
+gdb_test "run"
+
+gdb_test "info break" " in C::C\\(\\) at .* in C::C\\(int\\) at .*"
---
-2.14.3
-
diff --git a/gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch b/gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
index d5ce248..294b28d 100644
--- a/gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
+++ b/gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
;; [aarch64] Fix hardware watchpoints (RH BZ 1261564).
;;=fedoratest
----
- .../gdb.base/rhbz1261564-aarch64-watchpoint.c | 33 ++++++++++++++
- .../gdb.base/rhbz1261564-aarch64-watchpoint.exp | 53 ++++++++++++++++++++++
- 2 files changed, 86 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c
- create mode 100644 gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp
diff --git a/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c
new file mode 100644
-index 0000000000..085001d7f3
--- /dev/null
+++ b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c
@@ -0,0 +1,33 @@
@@ -55,7 +48,6 @@ index 0000000000..085001d7f3
+}
diff --git a/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp
new file mode 100644
-index 0000000000..49bb975602
--- /dev/null
+++ b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp
@@ -0,0 +1,53 @@
@@ -112,6 +104,3 @@ index 0000000000..49bb975602
+setup_xfail "powerpc*-*-*"
+
+gdb_continue_to_end
---
-2.14.3
-
diff --git a/gdb-rhbz1325795-framefilters-test.patch b/gdb-rhbz1325795-framefilters-test.patch
index e1d26a3..3a4050e 100644
--- a/gdb-rhbz1325795-framefilters-test.patch
+++ b/gdb-rhbz1325795-framefilters-test.patch
@@ -7,18 +7,9 @@ FileName: gdb-rhbz1325795-framefilters-test.patch
;; New test for Python "Cannot locate object file for block" (for RH BZ 1325795).
;;=fedoratest
----
- gdb/testsuite/gdb.python/py-framefilter-thread.c | 39 ++++++++++++++
- gdb/testsuite/gdb.python/py-framefilter-thread.exp | 54 +++++++++++++++++++
- gdb/testsuite/gdb.python/py-framefilter-thread.py | 60 ++++++++++++++++++++++
- 3 files changed, 153 insertions(+)
- create mode 100644 gdb/testsuite/gdb.python/py-framefilter-thread.c
- create mode 100644 gdb/testsuite/gdb.python/py-framefilter-thread.exp
- create mode 100644 gdb/testsuite/gdb.python/py-framefilter-thread.py
diff --git a/gdb/testsuite/gdb.python/py-framefilter-thread.c b/gdb/testsuite/gdb.python/py-framefilter-thread.c
new file mode 100644
-index 0000000000..6cebabb67a
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-framefilter-thread.c
@@ -0,0 +1,39 @@
@@ -63,7 +54,6 @@ index 0000000000..6cebabb67a
+}
diff --git a/gdb/testsuite/gdb.python/py-framefilter-thread.exp b/gdb/testsuite/gdb.python/py-framefilter-thread.exp
new file mode 100644
-index 0000000000..71f9746337
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-framefilter-thread.exp
@@ -0,0 +1,54 @@
@@ -123,7 +113,6 @@ index 0000000000..71f9746337
+gdb_test "bt" " in \[0-9\]+ \[^\r\n\]*" "bt with filters"
diff --git a/gdb/testsuite/gdb.python/py-framefilter-thread.py b/gdb/testsuite/gdb.python/py-framefilter-thread.py
new file mode 100644
-index 0000000000..8964799408
--- /dev/null
+++ b/gdb/testsuite/gdb.python/py-framefilter-thread.py
@@ -0,0 +1,60 @@
@@ -187,6 +176,3 @@ index 0000000000..8964799408
+ return frame_iter
+
+FrameFilter()
---
-2.14.3
-
diff --git a/gdb-rhbz1347993-aarch64-hw-watchpoint.patch b/gdb-rhbz1347993-aarch64-hw-watchpoint.patch
index d279e74..b76a403 100644
--- a/gdb-rhbz1347993-aarch64-hw-watchpoint.patch
+++ b/gdb-rhbz1347993-aarch64-hw-watchpoint.patch
@@ -1,7 +1,7 @@
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
From: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Thu, 17 May 2018 15:09:02 -0400
-Subject: [aarch64] Fix missed unaligned hardware watchpoints (RH BZ 1347993).
+Subject: Fix missed unaligned hardware watchpoints (RH BZ 1347993).
FileName: gdb-rhbz1347993-aarch64-hw-watchpoint.patch
@@ -95,21 +95,6 @@ gdb/testsuite/ChangeLog
PR breakpoints/19806 and support for PR external/20207.
* gdb.base/watchpoint-unaligned.c: New file.
* gdb.base/watchpoint-unaligned.exp: New file.
----
- gdb/NEWS | 12 +
- gdb/aarch64-linux-nat.c | 30 ++-
- gdb/common/common-utils.c | 20 ++
- gdb/common/common-utils.h | 32 +++
- gdb/gdbserver/linux-aarch64-low.c | 31 ++-
- gdb/nat/aarch64-linux-hw-point.c | 282 +++++++++++++++++-------
- gdb/nat/aarch64-linux-hw-point.h | 10 +-
- gdb/testsuite/gdb.base/watchpoint-unaligned.c | 96 ++++++++
- gdb/testsuite/gdb.base/watchpoint-unaligned.exp | 184 ++++++++++++++++
- gdb/utils.c | 16 --
- gdb/utils.h | 32 ---
- 11 files changed, 613 insertions(+), 132 deletions(-)
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-unaligned.c
- create mode 100644 gdb/testsuite/gdb.base/watchpoint-unaligned.exp
diff --git a/gdb/NEWS b/gdb/NEWS
index f40eb6c390..b7a3bc2635 100644
@@ -884,7 +869,6 @@ index e1d4fc8dbc..b5ba6415c0 100644
void aarch64_show_debug_reg_state (struct aarch64_debug_reg_state *state,
diff --git a/gdb/testsuite/gdb.base/watchpoint-unaligned.c b/gdb/testsuite/gdb.base/watchpoint-unaligned.c
new file mode 100644
-index 0000000000..8934de214e
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.c
@@ -0,0 +1,96 @@
@@ -986,7 +970,6 @@ index 0000000000..8934de214e
+}
diff --git a/gdb/testsuite/gdb.base/watchpoint-unaligned.exp b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
new file mode 100644
-index 0000000000..6bdd4b6d05
--- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
@@ -0,0 +1,184 @@
@@ -1244,6 +1227,3 @@ index b234762929..d01d283baa 100644
/* Resource limits used by getrlimit and setrlimit. */
enum resource_limit_kind
---
-2.14.3
-
diff --git a/gdb-rhbz1350436-type-printers-error.patch b/gdb-rhbz1350436-type-printers-error.patch
index 1c87fb0..bec81e8 100644
--- a/gdb-rhbz1350436-type-printers-error.patch
+++ b/gdb-rhbz1350436-type-printers-error.patch
@@ -13,11 +13,6 @@ https://bugzilla.redhat.com/show_bug.cgi?id=1350436
[testsuite patch] PR python/17136: 'info type-printers' causes an exception when there are per-objfile printers
https://sourceware.org/ml/gdb-patches/2016-06/msg00455.html
----
- gdb/testsuite/gdb.python/py-typeprint.cc | 6 ++++++
- gdb/testsuite/gdb.python/py-typeprint.exp | 4 ++++
- gdb/testsuite/gdb.python/py-typeprint.py | 24 ++++++++++++++++++++++--
- 3 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/gdb/testsuite/gdb.python/py-typeprint.cc b/gdb/testsuite/gdb.python/py-typeprint.cc
index 8135a5aa26..fb961f347d 100644
@@ -89,6 +84,3 @@ index db5ea71b3b..69fc8c3886 100644
+
+import gdb.types
+gdb.types.register_type_printer(gdb.objfiles()[0], OtherTypePrinter())
---
-2.14.3
-
diff --git a/gdb-rhbz1398387-tab-crash-test.patch b/gdb-rhbz1398387-tab-crash-test.patch
index 26b81f8..64a82e0 100644
--- a/gdb-rhbz1398387-tab-crash-test.patch
+++ b/gdb-rhbz1398387-tab-crash-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-rhbz1398387-tab-crash-test.patch
;; New testcase for: Fix <tab>-completion crash (Gary Benson, RH BZ 1398387).
;;=fedoratest
----
- gdb/testsuite/gdb.base/tab-crash.bz2.uu | 393 ++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.base/tab-crash.exp | 43 ++++
- 2 files changed, 436 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/tab-crash.bz2.uu
- create mode 100644 gdb/testsuite/gdb.base/tab-crash.exp
diff --git a/gdb/testsuite/gdb.base/tab-crash.bz2.uu b/gdb/testsuite/gdb.base/tab-crash.bz2.uu
new file mode 100644
-index 0000000000..e55ec5011b
--- /dev/null
+++ b/gdb/testsuite/gdb.base/tab-crash.bz2.uu
@@ -0,0 +1,393 @@
@@ -415,7 +408,6 @@ index 0000000000..e55ec5011b
+end
diff --git a/gdb/testsuite/gdb.base/tab-crash.exp b/gdb/testsuite/gdb.base/tab-crash.exp
new file mode 100644
-index 0000000000..91c45aa366
--- /dev/null
+++ b/gdb/testsuite/gdb.base/tab-crash.exp
@@ -0,0 +1,43 @@
@@ -462,6 +454,3 @@ index 0000000000..91c45aa366
+clean_restart ${debugfile}
+
+gdb_test "complete p si" "complete p si\r\np size_of_encoded_value"
---
-2.14.3
-
diff --git a/gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch b/gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch
index e3d12ab..2f71894 100644
--- a/gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch
+++ b/gdb-rhbz1540559-gdbaddindex-glibcdebug-regression.patch
@@ -52,9 +52,6 @@ gdb/ChangeLog
(recursively_write_psymbols) (debug_names::recursively_write_psymbols)
(debug_names::write_one_signatured_type): Fix -D_GLIBCXX_DEBUG
regression.
----
- gdb/dwarf2read.c | 22 +++++++++++++---------
- 1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 64329af71e..3c9b9dc188 100644
@@ -130,6 +127,3 @@ index 64329af71e..3c9b9dc188 100644
psymtab->n_static_syms, info->cu_index, true,
unit_kind::tu);
---
-2.14.3
-
diff --git a/gdb-rhbz1553104-s390x-arch12-test.patch b/gdb-rhbz1553104-s390x-arch12-test.patch
index 3266ba8..04394ee 100644
--- a/gdb-rhbz1553104-s390x-arch12-test.patch
+++ b/gdb-rhbz1553104-s390x-arch12-test.patch
@@ -7,18 +7,9 @@ FileName: gdb-rhbz1553104-s390x-arch12-test.patch
;; [s390x] Backport arch12 instructions decoding (RH BZ 1553104).
;; =fedoratest
----
- gdb/testsuite/gdb.arch/s390x-arch12.S | 4 ++++
- gdb/testsuite/gdb.arch/s390x-arch12.exp | 34 ++++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.arch/s390x-arch12.o.uu | 20 +++++++++++++++++++
- 3 files changed, 58 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/s390x-arch12.S
- create mode 100644 gdb/testsuite/gdb.arch/s390x-arch12.exp
- create mode 100644 gdb/testsuite/gdb.arch/s390x-arch12.o.uu
diff --git a/gdb/testsuite/gdb.arch/s390x-arch12.S b/gdb/testsuite/gdb.arch/s390x-arch12.S
new file mode 100644
-index 0000000000..cc1506eebf
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-arch12.S
@@ -0,0 +1,4 @@
@@ -28,7 +19,6 @@ index 0000000000..cc1506eebf
+.byte 0xeb,0xbf,0xf0,0x58,0x00,0x24,0xe3,0xf0,0xff,0x50,0xff,0x71,0xb9,0x04,0x00,0xbf,0xe3,0x20,0xb0,0xa0,0x00,0x24,0xe3,0x10,0xb0,0xa0,0x00,0x04,0xe3,0x10,0x10,0x00,0x00,0x4c,0xe3,0x10,0xb0,0xa8,0x00,0x24,0xe3,0x10,0xb0,0xa8,0x00,0x04,0xb9,0x04,0x00,0x21,0xe3,0x40,0xb1,0x20,0x00,0x04,0xeb,0xbf,0xb1,0x08,0x00,0x04,0x07,0xf4
diff --git a/gdb/testsuite/gdb.arch/s390x-arch12.exp b/gdb/testsuite/gdb.arch/s390x-arch12.exp
new file mode 100644
-index 0000000000..4e902ff960
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-arch12.exp
@@ -0,0 +1,34 @@
@@ -68,7 +58,6 @@ index 0000000000..4e902ff960
+gdb_test "disas load_guarded" " <\\+28>:\tlgg\t%r1,0\\(%r1\\)\r\n\[^\r\n\]* <\\+34>:\tstg\t%r1,168\\(%r11\\)\r\n.*"
diff --git a/gdb/testsuite/gdb.arch/s390x-arch12.o.uu b/gdb/testsuite/gdb.arch/s390x-arch12.o.uu
new file mode 100644
-index 0000000000..2cee883b0f
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-arch12.o.uu
@@ -0,0 +1,20 @@
@@ -92,6 +81,3 @@ index 0000000000..2cee883b0f
+H`````````2@`````````#@````````````````````$`````````````
+`
+end
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-20of25.patch b/gdb-rhbz795424-bitpos-20of25.patch
index a4b930c..cae72d6 100644
--- a/gdb-rhbz795424-bitpos-20of25.patch
+++ b/gdb-rhbz795424-bitpos-20of25.patch
@@ -471,92 +471,6 @@ gdb/testsuite/ChangeLog:
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=bitpos-main.patch
----
- gdb/aarch64-linux-nat.c | 2 +-
- gdb/ada-lang.c | 105 +++++++++++++++++++++-------------------
- gdb/ada-lang.h | 6 +--
- gdb/ada-typeprint.c | 7 +--
- gdb/ada-valprint.c | 39 +++++++--------
- gdb/amd64-tdep.c | 8 +--
- gdb/annotate.c | 8 +--
- gdb/annotate.h | 4 +-
- gdb/arch-utils.c | 2 +-
- gdb/arch-utils.h | 2 +-
- gdb/arm-linux-nat.c | 2 +-
- gdb/ax-gdb.c | 30 ++++++------
- gdb/ax-general.c | 2 +-
- gdb/ax.h | 2 +-
- gdb/breakpoint.c | 8 +--
- gdb/breakpoint.h | 4 +-
- gdb/c-lang.c | 6 +--
- gdb/c-lang.h | 4 +-
- gdb/c-typeprint.c | 7 +--
- gdb/c-valprint.c | 10 ++--
- gdb/compile/compile-c-support.c | 4 +-
- gdb/cp-abi.c | 6 +--
- gdb/cp-abi.h | 20 ++++----
- gdb/cp-valprint.c | 2 +-
- gdb/d-lang.h | 2 +-
- gdb/d-valprint.c | 2 +-
- gdb/dwarf2loc.c | 18 +++----
- gdb/dwarf2read.c | 12 ++---
- gdb/eval.c | 15 +++---
- gdb/f-lang.c | 2 +-
- gdb/f-lang.h | 2 +-
- gdb/f-valprint.c | 14 +++---
- gdb/findvar.c | 6 +--
- gdb/frame.c | 4 +-
- gdb/frame.h | 2 +-
- gdb/gdbarch.c | 2 +-
- gdb/gdbarch.h | 4 +-
- gdb/gdbarch.sh | 2 +-
- gdb/gdbtypes.c | 14 +++---
- gdb/gdbtypes.h | 6 +--
- gdb/gnu-v2-abi.c | 9 ++--
- gdb/gnu-v3-abi.c | 14 +++---
- gdb/go-lang.h | 2 +-
- gdb/go-valprint.c | 2 +-
- gdb/i386-tdep.c | 2 +-
- gdb/language.c | 4 +-
- gdb/language.h | 4 +-
- gdb/m2-lang.c | 10 ++--
- gdb/m2-lang.h | 2 +-
- gdb/m2-typeprint.c | 9 ++--
- gdb/m2-valprint.c | 16 +++---
- gdb/memrange.c | 4 +-
- gdb/memrange.h | 8 +--
- gdb/mips-linux-nat.c | 2 +-
- gdb/nat/x86-dregs.c | 4 +-
- gdb/nat/x86-dregs.h | 2 +-
- gdb/opencl-lang.c | 26 +++++-----
- gdb/p-lang.c | 14 +++---
- gdb/p-lang.h | 6 +--
- gdb/p-valprint.c | 6 +--
- gdb/ppc-linux-nat.c | 2 +-
- gdb/ppc-linux-tdep.c | 2 +-
- gdb/printcmd.c | 4 +-
- gdb/procfs.c | 2 +-
- gdb/regcache.c | 19 ++++----
- gdb/regcache.h | 23 ++++-----
- gdb/remote.c | 2 +-
- gdb/rust-lang.c | 4 +-
- gdb/s390-linux-nat.c | 2 +-
- gdb/spu-multiarch.c | 2 +-
- gdb/stack.c | 10 ++--
- gdb/symmisc.c | 6 +--
- gdb/target-delegates.c | 6 +--
- gdb/target.c | 4 +-
- gdb/target.h | 2 +-
- gdb/tracepoint.c | 32 ++++++------
- gdb/tracepoint.h | 2 +-
- gdb/valarith.c | 12 ++---
- gdb/valops.c | 18 +++----
- gdb/valprint.c | 18 +++----
- gdb/valprint.h | 8 +--
- gdb/value.c | 10 ++--
- gdb/value.h | 15 +++---
- gdb/x86-nat.c | 2 +-
- 84 files changed, 385 insertions(+), 365 deletions(-)
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index 9385659f14..08e6f4d4fd 100644
@@ -3588,6 +3502,3 @@ index b126c47c94..825b487a9a 100644
{
struct x86_debug_reg_state *state
= x86_debug_reg_state (ptid_get_pid (inferior_ptid));
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-21of25.patch b/gdb-rhbz795424-bitpos-21of25.patch
index 42013e1..7e040c6 100644
--- a/gdb-rhbz795424-bitpos-21of25.patch
+++ b/gdb-rhbz795424-bitpos-21of25.patch
@@ -60,16 +60,6 @@ gdb/ChangeLog
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=bitpos-ensure-size_t.patch
----
- gdb/alpha-tdep.c | 7 +++++++
- gdb/cp-valprint.c | 1 +
- gdb/defs.h | 2 ++
- gdb/p-valprint.c | 1 +
- gdb/utils.c | 12 ++++++++++++
- gdb/valops.c | 1 +
- gdb/value.c | 4 ++++
- gdb/vax-tdep.c | 1 +
- 8 files changed, 29 insertions(+)
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 52a46d96ea..ea53b9ee10 100644
@@ -200,6 +190,3 @@ index 4c1ab2e73e..bd69fd2f48 100644
read_memory (addr, readbuf, len);
}
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-22of25.patch b/gdb-rhbz795424-bitpos-22of25.patch
index 1bd6dca..49f4d39 100644
--- a/gdb-rhbz795424-bitpos-22of25.patch
+++ b/gdb-rhbz795424-bitpos-22of25.patch
@@ -104,18 +104,6 @@ gdb/ChangeLog:
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=bitpos-wp.patch
----
- gdb/aarch64-linux-nat.c | 2 +-
- gdb/arm-linux-nat.c | 2 +-
- gdb/nat/aarch64-linux-hw-point.c | 21 +++++++++++----------
- gdb/nat/aarch64-linux-hw-point.h | 4 ++--
- gdb/ppc-linux-nat.c | 14 +++++++-------
- gdb/procfs.c | 4 ++--
- gdb/remote.c | 6 +++---
- gdb/target-delegates.c | 14 +++++++-------
- gdb/target.c | 4 ++--
- gdb/target.h | 4 ++--
- 10 files changed, 38 insertions(+), 37 deletions(-)
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index 08e6f4d4fd..f08bf039e4 100644
@@ -454,6 +442,3 @@ index 7a70c3f6da..35eee91a83 100644
struct expression *)
TARGET_DEFAULT_RETURN (0);
int (*to_masked_watch_num_registers) (struct target_ops *,
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-23of25.patch b/gdb-rhbz795424-bitpos-23of25.patch
index fd9880c..e42f912 100644
--- a/gdb-rhbz795424-bitpos-23of25.patch
+++ b/gdb-rhbz795424-bitpos-23of25.patch
@@ -145,42 +145,6 @@ gdb/ChangeLog
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=bitpos-tdep.patch
----
- gdb/alpha-tdep.c | 14 +++++++-------
- gdb/amd64-tdep.c | 8 ++++----
- gdb/amd64-windows-tdep.c | 2 +-
- gdb/arm-tdep.c | 20 +++++++++++---------
- gdb/avr-tdep.c | 10 +++++-----
- gdb/bfin-tdep.c | 4 ++--
- gdb/cris-tdep.c | 12 ++++++------
- gdb/h8300-tdep.c | 8 ++++----
- gdb/hppa-tdep.c | 4 ++--
- gdb/i386-darwin-tdep.c | 2 +-
- gdb/i386-tdep.c | 14 +++++++-------
- gdb/iq2000-tdep.c | 5 +++--
- gdb/m32r-tdep.c | 2 +-
- gdb/m68k-tdep.c | 8 ++++----
- gdb/m88k-tdep.c | 8 ++++----
- gdb/mep-tdep.c | 2 +-
- gdb/mips-tdep.c | 48 ++++++++++++++++++++++++------------------------
- gdb/mn10300-tdep.c | 2 +-
- gdb/mt-tdep.c | 4 ++--
- gdb/ppc-sysv-tdep.c | 23 ++++++++++++-----------
- gdb/rl78-tdep.c | 4 ++--
- gdb/rs6000-aix-tdep.c | 6 +++---
- gdb/s390-linux-tdep.c | 6 +++---
- gdb/score-tdep.c | 2 +-
- gdb/sh-tdep.c | 10 ++++++----
- gdb/sh64-tdep.c | 4 ++--
- gdb/sparc64-tdep.c | 12 ++++++------
- gdb/spu-tdep.c | 4 ++--
- gdb/tic6x-tdep.c | 9 +++++----
- gdb/tilegx-tdep.c | 2 +-
- gdb/v850-tdep.c | 4 ++--
- gdb/vax-tdep.c | 4 ++--
- gdb/xstormy16-tdep.c | 5 +++--
- gdb/xtensa-tdep.c | 22 +++++++++++-----------
- 34 files changed, 151 insertions(+), 143 deletions(-)
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index ea53b9ee10..34dfb661f8 100644
@@ -1373,6 +1337,3 @@ index e09592a94e..95133a5871 100644
const bfd_byte *cp = info->contents;
int r = info->u.regno;
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-25of25-test.patch b/gdb-rhbz795424-bitpos-25of25-test.patch
index a9c11e6..0a37526 100644
--- a/gdb-rhbz795424-bitpos-25of25-test.patch
+++ b/gdb-rhbz795424-bitpos-25of25-test.patch
@@ -28,18 +28,9 @@ Jan
* gdb.fortran/array-bounds.exp: New test file.
* gdb.fortran/array-bounds.f: New test file.
* gdb.fortran/array-bounds.S: New test file.
----
- gdb/testsuite/gdb.fortran/array-bounds.S | 529 +++++++++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/array-bounds.exp | 43 +++
- gdb/testsuite/gdb.fortran/array-bounds.f | 22 ++
- 3 files changed, 594 insertions(+)
- create mode 100644 gdb/testsuite/gdb.fortran/array-bounds.S
- create mode 100644 gdb/testsuite/gdb.fortran/array-bounds.exp
- create mode 100644 gdb/testsuite/gdb.fortran/array-bounds.f
diff --git a/gdb/testsuite/gdb.fortran/array-bounds.S b/gdb/testsuite/gdb.fortran/array-bounds.S
new file mode 100644
-index 0000000000..463a427650
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/array-bounds.S
@@ -0,0 +1,529 @@
@@ -574,7 +565,6 @@ index 0000000000..463a427650
+ .section .note.GNU-stack,"",@progbits
diff --git a/gdb/testsuite/gdb.fortran/array-bounds.exp b/gdb/testsuite/gdb.fortran/array-bounds.exp
new file mode 100644
-index 0000000000..ba0ebe13b8
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/array-bounds.exp
@@ -0,0 +1,43 @@
@@ -623,7 +613,6 @@ index 0000000000..ba0ebe13b8
+gdb_test "print &bar" {.*\(-4294967297:-4294967296\).*}
diff --git a/gdb/testsuite/gdb.fortran/array-bounds.f b/gdb/testsuite/gdb.fortran/array-bounds.f
new file mode 100644
-index 0000000000..78b36e6c27
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/array-bounds.f
@@ -0,0 +1,22 @@
@@ -649,6 +638,3 @@ index 0000000000..78b36e6c27
+ stop
+ end
+
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-25of25.patch b/gdb-rhbz795424-bitpos-25of25.patch
index bc3c404..8372b8e 100644
--- a/gdb-rhbz795424-bitpos-25of25.patch
+++ b/gdb-rhbz795424-bitpos-25of25.patch
@@ -55,11 +55,6 @@ testsuite/ChangeLog:
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=f77-bounds.patch
----
- gdb/f-lang.h | 4 ++--
- gdb/f-typeprint.c | 10 +++++-----
- gdb/f-valprint.c | 4 ++--
- 3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/gdb/f-lang.h b/gdb/f-lang.h
index 9171a13bdf..9ec58f808e 100644
@@ -148,6 +143,3 @@ index 0772f359f0..03400ae431 100644
f77_get_upperbound (struct type *type)
{
if (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED (type))
---
-2.14.3
-
diff --git a/gdb-rhbz795424-bitpos-lazyvalue.patch b/gdb-rhbz795424-bitpos-lazyvalue.patch
index 15a0742..b0f59df 100644
--- a/gdb-rhbz795424-bitpos-lazyvalue.patch
+++ b/gdb-rhbz795424-bitpos-lazyvalue.patch
@@ -8,20 +8,9 @@ FileName: gdb-rhbz795424-bitpos-lazyvalue.patch
;; Fix `GDB cannot access struct member whose offset is larger than 256MB'
;; (RH BZ 795424).
;;=push
----
- gdb/testsuite/gdb.base/longest-types-64bit.S | 249 ++++++++++++++++++++++
- gdb/testsuite/gdb.base/longest-types-64bit.bz2.uu | 67 ++++++
- gdb/testsuite/gdb.base/longest-types-64bit.c | 28 +++
- gdb/testsuite/gdb.base/longest-types-64bit.exp | 59 +++++
- 4 files changed, 403 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/longest-types-64bit.S
- create mode 100644 gdb/testsuite/gdb.base/longest-types-64bit.bz2.uu
- create mode 100644 gdb/testsuite/gdb.base/longest-types-64bit.c
- create mode 100644 gdb/testsuite/gdb.base/longest-types-64bit.exp
diff --git a/gdb/testsuite/gdb.base/longest-types-64bit.S b/gdb/testsuite/gdb.base/longest-types-64bit.S
new file mode 100644
-index 0000000000..336d3fdb7a
--- /dev/null
+++ b/gdb/testsuite/gdb.base/longest-types-64bit.S
@@ -0,0 +1,249 @@
@@ -276,7 +265,6 @@ index 0000000000..336d3fdb7a
+ .section .note.GNU-stack,"",@progbits
diff --git a/gdb/testsuite/gdb.base/longest-types-64bit.bz2.uu b/gdb/testsuite/gdb.base/longest-types-64bit.bz2.uu
new file mode 100644
-index 0000000000..4007da2917
--- /dev/null
+++ b/gdb/testsuite/gdb.base/longest-types-64bit.bz2.uu
@@ -0,0 +1,67 @@
@@ -349,7 +337,6 @@ index 0000000000..4007da2917
+end
diff --git a/gdb/testsuite/gdb.base/longest-types-64bit.c b/gdb/testsuite/gdb.base/longest-types-64bit.c
new file mode 100644
-index 0000000000..1394c08bdc
--- /dev/null
+++ b/gdb/testsuite/gdb.base/longest-types-64bit.c
@@ -0,0 +1,28 @@
@@ -383,7 +370,6 @@ index 0000000000..1394c08bdc
+}
diff --git a/gdb/testsuite/gdb.base/longest-types-64bit.exp b/gdb/testsuite/gdb.base/longest-types-64bit.exp
new file mode 100644
-index 0000000000..4871dec72f
--- /dev/null
+++ b/gdb/testsuite/gdb.base/longest-types-64bit.exp
@@ -0,0 +1,59 @@
@@ -446,6 +432,3 @@ index 0000000000..4871dec72f
+}
+
+test "native"
---
-2.14.3
-
diff --git a/gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch b/gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
index 0473d30..e8b4545 100644
--- a/gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
+++ b/gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
@@ -8,16 +8,9 @@ FileName: gdb-rhbz947564-findvar-assertion-frame-failed-testcase.patch
;; Import regression test for `gdb/findvar.c:417: internal-error:
;; read_var_value: Assertion `frame' failed.' (RH BZ 947564) from RHEL 6.5.
;;=fedoratest
----
- gdb/testsuite/gdb.threads/tls-rhbz947564.cc | 53 ++++++++++++++++++++
- gdb/testsuite/gdb.threads/tls-rhbz947564.exp | 75 ++++++++++++++++++++++++++++
- 2 files changed, 128 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/tls-rhbz947564.cc
- create mode 100644 gdb/testsuite/gdb.threads/tls-rhbz947564.exp
diff --git a/gdb/testsuite/gdb.threads/tls-rhbz947564.cc b/gdb/testsuite/gdb.threads/tls-rhbz947564.cc
new file mode 100644
-index 0000000000..efb25ab926
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-rhbz947564.cc
@@ -0,0 +1,53 @@
@@ -76,7 +69,6 @@ index 0000000000..efb25ab926
+}
diff --git a/gdb/testsuite/gdb.threads/tls-rhbz947564.exp b/gdb/testsuite/gdb.threads/tls-rhbz947564.exp
new file mode 100644
-index 0000000000..e8112e965d
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-rhbz947564.exp
@@ -0,0 +1,75 @@
@@ -155,6 +147,3 @@ index 0000000000..e8112e965d
+} else {
+ fail "different values for TLS variable"
+}
---
-2.14.3
-
diff --git a/gdb-rhel5.9-testcase-xlf-var-inside-mod.patch b/gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
index 7b46118..c899773 100644
--- a/gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
+++ b/gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
@@ -7,18 +7,9 @@ FileName: gdb-rhel5.9-testcase-xlf-var-inside-mod.patch
;; Include testcase for `Unable to see a variable inside a module (XLF)' (BZ 823789).
;;=fedoratest
----
- gdb/testsuite/gdb.fortran/xlf-variable.S | 638 +++++++++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/xlf-variable.exp | 37 ++
- gdb/testsuite/gdb.fortran/xlf-variable.f | 33 ++
- 3 files changed, 708 insertions(+)
- create mode 100644 gdb/testsuite/gdb.fortran/xlf-variable.S
- create mode 100644 gdb/testsuite/gdb.fortran/xlf-variable.exp
- create mode 100644 gdb/testsuite/gdb.fortran/xlf-variable.f
diff --git a/gdb/testsuite/gdb.fortran/xlf-variable.S b/gdb/testsuite/gdb.fortran/xlf-variable.S
new file mode 100644
-index 0000000000..e826c844c7
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/xlf-variable.S
@@ -0,0 +1,638 @@
@@ -662,7 +653,6 @@ index 0000000000..e826c844c7
+ .comm __N__mod1,4,16
diff --git a/gdb/testsuite/gdb.fortran/xlf-variable.exp b/gdb/testsuite/gdb.fortran/xlf-variable.exp
new file mode 100644
-index 0000000000..085da12567
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/xlf-variable.exp
@@ -0,0 +1,37 @@
@@ -705,7 +695,6 @@ index 0000000000..085da12567
+gdb_test "ptype z" "= REAL" "z is REAL"
diff --git a/gdb/testsuite/gdb.fortran/xlf-variable.f b/gdb/testsuite/gdb.fortran/xlf-variable.f
new file mode 100644
-index 0000000000..0b458f8b0c
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/xlf-variable.f
@@ -0,0 +1,33 @@
@@ -742,6 +731,3 @@ index 0000000000..0b458f8b0c
+ use mod1
+ call sub1
+ end
---
-2.14.3
-
diff --git a/gdb-runtest-pie-override.patch b/gdb-runtest-pie-override.patch
index a97870f..f1748fd 100644
--- a/gdb-runtest-pie-override.patch
+++ b/gdb-runtest-pie-override.patch
@@ -23,9 +23,6 @@ make check//unix RUNTESTFLAGS='CC_FOR_TARGET=gcc\ -fPIC\ -pie CXX_FOR_TARGET=g++
But there is a problem with testsuite.unix non-unique subdir name and also
a problem with make -j parallelization of the testsuite.
----
- gdb/testsuite/lib/future.exp | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdb/testsuite/lib/future.exp b/gdb/testsuite/lib/future.exp
index 547ca5fb7b..93c770820c 100644
@@ -53,6 +50,3 @@ index 547ca5fb7b..93c770820c 100644
verbose "doing compile"
set sources ""
---
-2.14.3
-
diff --git a/gdb-simultaneous-step-resume-breakpoint-test.patch b/gdb-simultaneous-step-resume-breakpoint-test.patch
index 0c4d35c..823aa99 100644
--- a/gdb-simultaneous-step-resume-breakpoint-test.patch
+++ b/gdb-simultaneous-step-resume-breakpoint-test.patch
@@ -7,16 +7,9 @@ FileName: gdb-simultaneous-step-resume-breakpoint-test.patch
;; New test for step-resume breakpoint placed in multiple threads at once.
;;=fedoratest
----
- .../simultaneous-step-resume-breakpoint.c | 79 ++++++++++++++++++++++
- .../simultaneous-step-resume-breakpoint.exp | 65 ++++++++++++++++++
- 2 files changed, 144 insertions(+)
- create mode 100644 gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.c
- create mode 100644 gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.exp
diff --git a/gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.c b/gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.c
new file mode 100644
-index 0000000000..1f32bbf889
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.c
@@ -0,0 +1,79 @@
@@ -101,7 +94,6 @@ index 0000000000..1f32bbf889
+}
diff --git a/gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.exp b/gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.exp
new file mode 100644
-index 0000000000..ac5111c5ce
--- /dev/null
+++ b/gdb/testsuite/gdb.threads/simultaneous-step-resume-breakpoint.exp
@@ -0,0 +1,65 @@
@@ -170,6 +162,3 @@ index 0000000000..ac5111c5ce
+
+gdb_test "continue" "sleep-after.*" "second continue"
+gdb_test "continue" "final-exit.*" "third continue"
---
-2.14.3
-
diff --git a/gdb-stale-frame_info.patch b/gdb-stale-frame_info.patch
index 8504aba..fda5f64 100644
--- a/gdb-stale-frame_info.patch
+++ b/gdb-stale-frame_info.patch
@@ -39,9 +39,6 @@ gdb/
Workaround PR backtrace/13866.
* progspace.c (switch_to_program_space_and_thread): Try not to call
switch_to_thread.
----
- gdb/progspace-and-thread.c | 18 ++++++++++++++++--
- 1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gdb/progspace-and-thread.c b/gdb/progspace-and-thread.c
index 27d626b05f..ee6342d96a 100644
@@ -79,6 +76,3 @@ index 27d626b05f..ee6342d96a 100644
/* Switching thread switches pspace implicitly. We're
done. */
return;
---
-2.14.3
-
diff --git a/gdb-test-bt-cfi-without-die.patch b/gdb-test-bt-cfi-without-die.patch
index 84f71b9..70cbe72 100644
--- a/gdb-test-bt-cfi-without-die.patch
+++ b/gdb-test-bt-cfi-without-die.patch
@@ -67,18 +67,9 @@ gdb/
gdb/testsuite/
* gdb.base/cfi-without-die.exp, gdb.base/cfi-without-die-main.c,
gdb.base/cfi-without-die-caller.c: New files.
----
- gdb/testsuite/gdb.base/cfi-without-die-caller.c | 28 ++++++++++
- gdb/testsuite/gdb.base/cfi-without-die-main.c | 32 +++++++++++
- gdb/testsuite/gdb.base/cfi-without-die.exp | 71 +++++++++++++++++++++++++
- 3 files changed, 131 insertions(+)
- create mode 100644 gdb/testsuite/gdb.base/cfi-without-die-caller.c
- create mode 100644 gdb/testsuite/gdb.base/cfi-without-die-main.c
- create mode 100644 gdb/testsuite/gdb.base/cfi-without-die.exp
diff --git a/gdb/testsuite/gdb.base/cfi-without-die-caller.c b/gdb/testsuite/gdb.base/cfi-without-die-caller.c
new file mode 100644
-index 0000000000..afdfd5331a
--- /dev/null
+++ b/gdb/testsuite/gdb.base/cfi-without-die-caller.c
@@ -0,0 +1,28 @@
@@ -112,7 +103,6 @@ index 0000000000..afdfd5331a
+}
diff --git a/gdb/testsuite/gdb.base/cfi-without-die-main.c b/gdb/testsuite/gdb.base/cfi-without-die-main.c
new file mode 100644
-index 0000000000..8451c4be70
--- /dev/null
+++ b/gdb/testsuite/gdb.base/cfi-without-die-main.c
@@ -0,0 +1,32 @@
@@ -150,7 +140,6 @@ index 0000000000..8451c4be70
+}
diff --git a/gdb/testsuite/gdb.base/cfi-without-die.exp b/gdb/testsuite/gdb.base/cfi-without-die.exp
new file mode 100644
-index 0000000000..5880d46f6d
--- /dev/null
+++ b/gdb/testsuite/gdb.base/cfi-without-die.exp
@@ -0,0 +1,71 @@
@@ -225,6 +214,3 @@ index 0000000000..5880d46f6d
+# #1 0x00000000004004e9 in caller ()
+# #2 0x00000000004004cd in main () at ...
+gdb_test "bt" "#0 +callback \[^\r\n\]+\r\n#1 \[^\r\n\]+ in caller \[^\r\n\]+\r\n#2 \[^\r\n\]+ in main \[^\r\n\]+" "verify unwindin works for CFI without DIEs"
---
-2.14.3
-
diff --git a/gdb-test-dw2-aranges.patch b/gdb-test-dw2-aranges.patch
index 9253400..5703a03 100644
--- a/gdb-test-dw2-aranges.patch
+++ b/gdb-test-dw2-aranges.patch
@@ -29,16 +29,9 @@ Date: Sat Aug 15 15:05:54 2009 +0200
Floating point exception
* gdb.dwarf2/dw2-aranges.exp, gdb.dwarf2/dw2-aranges.S: New files.
----
- gdb/testsuite/gdb.dwarf2/dw2-aranges.S | 140 +++++++++++++++++++++++++++++++
- gdb/testsuite/gdb.dwarf2/dw2-aranges.exp | 40 +++++++++
- 2 files changed, 180 insertions(+)
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-aranges.S
- create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-aranges.exp
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-aranges.S b/gdb/testsuite/gdb.dwarf2/dw2-aranges.S
new file mode 100644
-index 0000000000..d5b9ca5a3c
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-aranges.S
@@ -0,0 +1,140 @@
@@ -184,7 +177,6 @@ index 0000000000..d5b9ca5a3c
+.Laranges_end:
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-aranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-aranges.exp
new file mode 100644
-index 0000000000..f95bde4c35
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-aranges.exp
@@ -0,0 +1,40 @@
@@ -228,6 +220,3 @@ index 0000000000..f95bde4c35
+
+# Failed gdb_load would abort the testcase execution earlier.
+pass "file loaded"
---
-2.14.3
-
diff --git a/gdb-test-expr-cumulative-archer.patch b/gdb-test-expr-cumulative-archer.patch
index 3f95ad0..d4efbf1 100644
--- a/gdb-test-expr-cumulative-archer.patch
+++ b/gdb-test-expr-cumulative-archer.patch
@@ -10,20 +10,9 @@ FileName: gdb-test-expr-cumulative-archer.patch
archer archer-keiths-expr-cumulative
b5a7497340b24199f0c7ba7fdf0d54d4df44d6bc
----
- gdb/testsuite/gdb.cp/namespace-nested-imports.cc | 36 ++++++++++++
- gdb/testsuite/gdb.cp/namespace-nested-imports.exp | 50 ++++++++++++++++
- gdb/testsuite/gdb.cp/namespace-no-imports.cc | 37 ++++++++++++
- gdb/testsuite/gdb.cp/namespace-no-imports.exp | 69 +++++++++++++++++++++++
- 4 files changed, 192 insertions(+)
- create mode 100644 gdb/testsuite/gdb.cp/namespace-nested-imports.cc
- create mode 100644 gdb/testsuite/gdb.cp/namespace-nested-imports.exp
- create mode 100644 gdb/testsuite/gdb.cp/namespace-no-imports.cc
- create mode 100644 gdb/testsuite/gdb.cp/namespace-no-imports.exp
diff --git a/gdb/testsuite/gdb.cp/namespace-nested-imports.cc b/gdb/testsuite/gdb.cp/namespace-nested-imports.cc
new file mode 100644
-index 0000000000..9723f874d9
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/namespace-nested-imports.cc
@@ -0,0 +1,36 @@
@@ -65,7 +54,6 @@ index 0000000000..9723f874d9
+}
diff --git a/gdb/testsuite/gdb.cp/namespace-nested-imports.exp b/gdb/testsuite/gdb.cp/namespace-nested-imports.exp
new file mode 100644
-index 0000000000..a606c43cb3
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/namespace-nested-imports.exp
@@ -0,0 +1,50 @@
@@ -121,7 +109,6 @@ index 0000000000..a606c43cb3
+gdb_test "print ab" "= 11"
diff --git a/gdb/testsuite/gdb.cp/namespace-no-imports.cc b/gdb/testsuite/gdb.cp/namespace-no-imports.cc
new file mode 100644
-index 0000000000..d1c68abaea
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/namespace-no-imports.cc
@@ -0,0 +1,37 @@
@@ -164,7 +151,6 @@ index 0000000000..d1c68abaea
+}
diff --git a/gdb/testsuite/gdb.cp/namespace-no-imports.exp b/gdb/testsuite/gdb.cp/namespace-no-imports.exp
new file mode 100644
-index 0000000000..a4ae9b3cd2
--- /dev/null
+++ b/gdb/testsuite/gdb.cp/namespace-no-imports.exp
@@ -0,0 +1,69 @@
@@ -237,6 +223,3 @@ index 0000000000..a4ae9b3cd2
+gdb_test "print _a" "= 11"
+gdb_test "print ab" "= 22"
+gdb_test "print abc" "= 33"
---
-2.14.3
-
diff --git a/gdb-test-ivy-bridge.patch b/gdb-test-ivy-bridge.patch
index 8953054..a0dfde7 100644
--- a/gdb-test-ivy-bridge.patch
+++ b/gdb-test-ivy-bridge.patch
@@ -7,20 +7,9 @@ FileName: gdb-test-ivy-bridge.patch
;; Test GDB opcodes/ disassembly of Intel Ivy Bridge instructions (BZ 696890).
;;=fedoratest
----
- gdb/testsuite/gdb.arch/amd64-ivy-bridge.S | 98 ++++++++++++++++
- gdb/testsuite/gdb.arch/amd64-ivy-bridge.exp | 170 ++++++++++++++++++++++++++++
- gdb/testsuite/gdb.arch/i386-ivy-bridge.S | 67 +++++++++++
- gdb/testsuite/gdb.arch/i386-ivy-bridge.exp | 106 +++++++++++++++++
- 4 files changed, 441 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/amd64-ivy-bridge.S
- create mode 100644 gdb/testsuite/gdb.arch/amd64-ivy-bridge.exp
- create mode 100644 gdb/testsuite/gdb.arch/i386-ivy-bridge.S
- create mode 100644 gdb/testsuite/gdb.arch/i386-ivy-bridge.exp
diff --git a/gdb/testsuite/gdb.arch/amd64-ivy-bridge.S b/gdb/testsuite/gdb.arch/amd64-ivy-bridge.S
new file mode 100644
-index 0000000000..24e41c0e02
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/amd64-ivy-bridge.S
@@ -0,0 +1,98 @@
@@ -124,7 +113,6 @@ index 0000000000..24e41c0e02
+ wrgsbase r8
diff --git a/gdb/testsuite/gdb.arch/amd64-ivy-bridge.exp b/gdb/testsuite/gdb.arch/amd64-ivy-bridge.exp
new file mode 100644
-index 0000000000..d1b1f27db4
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/amd64-ivy-bridge.exp
@@ -0,0 +1,170 @@
@@ -300,7 +288,6 @@ index 0000000000..d1b1f27db4
+End of assembler dump\\." "intel"
diff --git a/gdb/testsuite/gdb.arch/i386-ivy-bridge.S b/gdb/testsuite/gdb.arch/i386-ivy-bridge.S
new file mode 100644
-index 0000000000..ff9608d389
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/i386-ivy-bridge.S
@@ -0,0 +1,67 @@
@@ -373,7 +360,6 @@ index 0000000000..ff9608d389
+
diff --git a/gdb/testsuite/gdb.arch/i386-ivy-bridge.exp b/gdb/testsuite/gdb.arch/i386-ivy-bridge.exp
new file mode 100644
-index 0000000000..4ea93edb06
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/i386-ivy-bridge.exp
@@ -0,0 +1,106 @@
@@ -483,6 +469,3 @@ index 0000000000..4ea93edb06
+\[^\r\n\]+:\tf3 0f ae d3\t\( \)?wrfsbase ebx\r
+\[^\r\n\]+:\tf3 0f ae db\t\( \)?wrgsbase ebx\r
+End of assembler dump\\." "intel"
---
-2.14.3
-
diff --git a/gdb-test-pid0-core.patch b/gdb-test-pid0-core.patch
index 29374b1..4a880f7 100644
--- a/gdb-test-pid0-core.patch
+++ b/gdb-test-pid0-core.patch
@@ -15,16 +15,9 @@ Re: [RFA]corelow.c: Add tid to add_to_thread_list
http://sourceware.org/ml/gdb-patches/2010-08/msg00085.html
http://sourceware.org/ml/gdb-cvs/2010-08/msg00026.html
2e5bcfdef1ec3883d48c3f87a4be5c0dff25e17e
----
- .../gdb.arch/x86_64-pid0-core.core.bz2.uu | 20 ++++++++++
- gdb/testsuite/gdb.arch/x86_64-pid0-core.exp | 46 ++++++++++++++++++++++
- 2 files changed, 66 insertions(+)
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu
- create mode 100644 gdb/testsuite/gdb.arch/x86_64-pid0-core.exp
diff --git a/gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu b/gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu
new file mode 100644
-index 0000000000..4c8200c243
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu
@@ -0,0 +1,20 @@
@@ -50,7 +43,6 @@ index 0000000000..4c8200c243
+end
diff --git a/gdb/testsuite/gdb.arch/x86_64-pid0-core.exp b/gdb/testsuite/gdb.arch/x86_64-pid0-core.exp
new file mode 100644
-index 0000000000..7a5a1cac19
--- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-pid0-core.exp
@@ -0,0 +1,46 @@
@@ -100,6 +92,3 @@ index 0000000000..7a5a1cac19
+# Former crash was:
+# thread.c:884: internal-error: switch_to_thread: Assertion `inf != NULL' failed.
+gdb_test "core-file ${corefile}" "Program terminated with signal (11|SIGSEGV), Segmentation fault\\.\r\n.*"
---
-2.14.3
-
diff --git a/gdb-testsuite-readline63-sigint.patch b/gdb-testsuite-readline63-sigint.patch
index 5f20cb0..dc0fb6f 100644
--- a/gdb-testsuite-readline63-sigint.patch
+++ b/gdb-testsuite-readline63-sigint.patch
@@ -13,9 +13,6 @@ commit 379059215e823555a37a8dc7e02cef8fd86566e4
https://sourceware.org/ml/gdb-patches/2015-07/msg00422.html
Message-Id: <1436927724-4059-1-git-send-email-patrick@parcs.ath.cx>
https://bugzilla.redhat.com/show_bug.cgi?id=1301175
----
- gdb/testsuite/gdb.gdb/selftest.exp | 22 +++++++++++++++++++---
- 1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 4108e088a9..4dbd583ce7 100644
@@ -50,6 +47,3 @@ index 4108e088a9..4dbd583ce7 100644
# Switch back to the GDB thread if Guile support is linked in.
# "signal SIGINT" could also switch the current thread.
---
-2.14.3
-
diff --git a/gdb-vla-intel-fix-print-char-array.patch b/gdb-vla-intel-fix-print-char-array.patch
index 76cd70f..eba8e51 100644
--- a/gdb-vla-intel-fix-print-char-array.patch
+++ b/gdb-vla-intel-fix-print-char-array.patch
@@ -20,10 +20,6 @@ Revert commit (only the part touching gdb/f-valprint.c):
This does not change the output.
And adjust its testcase.
----
- gdb/f-valprint.c | 18 ++++++++++++++++--
- gdb/testsuite/gdb.fortran/printing-types.exp | 2 +-
- 2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index 03400ae431..aa33d848d6 100644
@@ -67,6 +63,3 @@ index 9237907ed6..dbd0666422 100644
gdb_test "print twobytes" " = 2"
gdb_test "print chvalue" " = \'a\'"
gdb_test "print logvalue" " = \.TRUE\."
---
-2.14.3
-
diff --git a/gdb-vla-intel-fortran-strides.patch b/gdb-vla-intel-fortran-strides.patch
index 76f8f81..d01bfec 100644
--- a/gdb-vla-intel-fortran-strides.patch
+++ b/gdb-vla-intel-fortran-strides.patch
@@ -35,35 +35,6 @@ dbfd7140bf4c0500d1f5d192be781f83f78f7922
gdb/valops.c | 197 +++++++++++--
gdb/value.h | 2 +
23 files changed, 1242 insertions(+), 183 deletions(-)
----
- gdb/dwarf2loc.c | 46 ++-
- gdb/dwarf2loc.h | 6 +
- gdb/dwarf2read.c | 13 +-
- gdb/eval.c | 391 +++++++++++++++++++++-----
- gdb/expprint.c | 20 +-
- gdb/expression.h | 18 +-
- gdb/f-exp.y | 42 ++-
- gdb/f-valprint.c | 8 +-
- gdb/gdbtypes.c | 34 ++-
- gdb/gdbtypes.h | 18 +-
- gdb/parse.c | 24 +-
- gdb/rust-exp.y | 12 +-
- gdb/rust-lang.c | 17 +-
- gdb/testsuite/gdb.fortran/static-arrays.exp | 421 ++++++++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/static-arrays.f90 | 55 ++++
- gdb/testsuite/gdb.fortran/vla-ptype.exp | 4 +
- gdb/testsuite/gdb.fortran/vla-sizeof.exp | 4 +
- gdb/testsuite/gdb.fortran/vla-stride.exp | 44 +++
- gdb/testsuite/gdb.fortran/vla-stride.f90 | 29 ++
- gdb/testsuite/gdb.fortran/vla.f90 | 10 +
- gdb/valarith.c | 10 +-
- gdb/valops.c | 199 +++++++++++--
- gdb/value.h | 2 +
- 23 files changed, 1245 insertions(+), 182 deletions(-)
- create mode 100644 gdb/testsuite/gdb.fortran/static-arrays.exp
- create mode 100644 gdb/testsuite/gdb.fortran/static-arrays.f90
- create mode 100644 gdb/testsuite/gdb.fortran/vla-stride.exp
- create mode 100644 gdb/testsuite/gdb.fortran/vla-stride.f90
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 51f133f1b5..5105c8d23a 100644
@@ -1136,7 +1107,6 @@ index f7bec33a42..cb924e084d 100644
error (_("High index less than zero"));
diff --git a/gdb/testsuite/gdb.fortran/static-arrays.exp b/gdb/testsuite/gdb.fortran/static-arrays.exp
new file mode 100644
-index 0000000000..cc9ecc04ab
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/static-arrays.exp
@@ -0,0 +1,421 @@
@@ -1563,7 +1533,6 @@ index 0000000000..cc9ecc04ab
+ "Assignment of value to subarray"
diff --git a/gdb/testsuite/gdb.fortran/static-arrays.f90 b/gdb/testsuite/gdb.fortran/static-arrays.f90
new file mode 100644
-index 0000000000..f22fcbe124
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/static-arrays.f90
@@ -0,0 +1,55 @@
@@ -1648,7 +1617,6 @@ index 3113983ba4..83bc849619 100644
+gdb_test "print sizeof(vla1)" " = 480" "print sizeof vla1 negative bounds"
diff --git a/gdb/testsuite/gdb.fortran/vla-stride.exp b/gdb/testsuite/gdb.fortran/vla-stride.exp
new file mode 100644
-index 0000000000..dcf15e5daf
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-stride.exp
@@ -0,0 +1,44 @@
@@ -1698,7 +1666,6 @@ index 0000000000..dcf15e5daf
+gdb_test "print pvla(1)" " = 5" "print one single-element"
diff --git a/gdb/testsuite/gdb.fortran/vla-stride.f90 b/gdb/testsuite/gdb.fortran/vla-stride.f90
new file mode 100644
-index 0000000000..8d2425222e
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-stride.f90
@@ -0,0 +1,29 @@
@@ -2016,6 +1983,3 @@ index 7dc67dc721..03ca06448f 100644
extern struct value *value_literal_complex (struct value *, struct value *,
struct type *);
---
-2.14.3
-
diff --git a/gdb-vla-intel-fortran-vla-strings.patch b/gdb-vla-intel-fortran-vla-strings.patch
index 27afcb9..c33d9f9 100644
--- a/gdb-vla-intel-fortran-vla-strings.patch
+++ b/gdb-vla-intel-fortran-vla-strings.patch
@@ -31,32 +31,6 @@ git diff --stat -p gdb/master...gdb/users/bheckel/fortran-vla-strings
gdb/valops.c | 16 ++-
gdb/valprint.c | 6 --
20 files changed, 827 insertions(+), 110 deletions(-)
----
- gdb/NEWS | 2 +
- gdb/c-valprint.c | 22 ++++
- gdb/dwarf2read.c | 163 +++++++++++++++++++++++++-----
- gdb/f-typeprint.c | 93 +++++++++--------
- gdb/gdbtypes.c | 40 +++++++-
- gdb/testsuite/gdb.cp/vla-cxx.cc | 9 ++
- gdb/testsuite/gdb.cp/vla-cxx.exp | 9 ++
- gdb/testsuite/gdb.fortran/pointers.exp | 143 ++++++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/pointers.f90 | 109 ++++++++++++++++++++
- gdb/testsuite/gdb.fortran/print_type.exp | 100 ++++++++++++++++++
- gdb/testsuite/gdb.fortran/vla-ptype.exp | 12 +--
- gdb/testsuite/gdb.fortran/vla-strings.exp | 103 +++++++++++++++++++
- gdb/testsuite/gdb.fortran/vla-strings.f90 | 39 +++++++
- gdb/testsuite/gdb.fortran/vla-type.exp | 7 +-
- gdb/testsuite/gdb.fortran/vla-value.exp | 4 +-
- gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 8 +-
- gdb/typeprint.c | 19 ++++
- gdb/valops.c | 16 ++-
- gdb/valprint.c | 6 --
- 19 files changed, 807 insertions(+), 97 deletions(-)
- create mode 100644 gdb/testsuite/gdb.fortran/pointers.exp
- create mode 100644 gdb/testsuite/gdb.fortran/pointers.f90
- create mode 100644 gdb/testsuite/gdb.fortran/print_type.exp
- create mode 100644 gdb/testsuite/gdb.fortran/vla-strings.exp
- create mode 100644 gdb/testsuite/gdb.fortran/vla-strings.f90
diff --git a/gdb/NEWS b/gdb/NEWS
index 6c9a2ecefd..f40eb6c390 100644
@@ -680,7 +654,6 @@ index ac87499d49..dacbfb6ca0 100644
+gdb_test "print *ptr" " = \\{5, 7, 9\\}"
diff --git a/gdb/testsuite/gdb.fortran/pointers.exp b/gdb/testsuite/gdb.fortran/pointers.exp
new file mode 100644
-index 0000000000..67cf99989d
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/pointers.exp
@@ -0,0 +1,143 @@
@@ -829,7 +802,6 @@ index 0000000000..67cf99989d
+gdb_test "print \$pc" "= \\(PTR TO -> \\( void \\(\\)\\(\\)\\)\\) $hex <pointers\\+\\d+>" "Print program counter"
diff --git a/gdb/testsuite/gdb.fortran/pointers.f90 b/gdb/testsuite/gdb.fortran/pointers.f90
new file mode 100644
-index 0000000000..6240c87988
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/pointers.f90
@@ -0,0 +1,109 @@
@@ -944,7 +916,6 @@ index 0000000000..6240c87988
+end program pointers
diff --git a/gdb/testsuite/gdb.fortran/print_type.exp b/gdb/testsuite/gdb.fortran/print_type.exp
new file mode 100644
-index 0000000000..45b4968f6c
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/print_type.exp
@@ -0,0 +1,100 @@
@@ -1091,7 +1062,6 @@ index 5351a0aa2e..fa248c5a0c 100644
"ptype vla2(5, 45, 20) not allocated"
diff --git a/gdb/testsuite/gdb.fortran/vla-strings.exp b/gdb/testsuite/gdb.fortran/vla-strings.exp
new file mode 100644
-index 0000000000..484fdcb652
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-strings.exp
@@ -0,0 +1,103 @@
@@ -1200,7 +1170,6 @@ index 0000000000..484fdcb652
+}
diff --git a/gdb/testsuite/gdb.fortran/vla-strings.f90 b/gdb/testsuite/gdb.fortran/vla-strings.f90
new file mode 100644
-index 0000000000..3c22735fdb
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-strings.f90
@@ -0,0 +1,39 @@
@@ -1401,6 +1370,3 @@ index b19123f23e..d01d02fc09 100644
if (type_not_allocated (value_type (val)))
{
val_print_not_allocated (stream);
---
-2.14.3
-
diff --git a/gdb-vla-intel-stringbt-fix.patch b/gdb-vla-intel-stringbt-fix.patch
index 6f4c625..1931154 100644
--- a/gdb-vla-intel-stringbt-fix.patch
+++ b/gdb-vla-intel-stringbt-fix.patch
@@ -29,15 +29,6 @@ cannot reproduce it.
Thanks,
Jan
----
- gdb/dwarf2loc.c | 15 +++++++++
- .../gdb.fortran/dynamic-other-frame-stub.f90 | 24 +++++++++++++
- gdb/testsuite/gdb.fortran/dynamic-other-frame.exp | 39 ++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 | 36 ++++++++++++++++++++
- 4 files changed, 114 insertions(+)
- create mode 100644 gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90
- create mode 100644 gdb/testsuite/gdb.fortran/dynamic-other-frame.exp
- create mode 100644 gdb/testsuite/gdb.fortran/dynamic-other-frame.f90
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 5105c8d23a..5486e4dc12 100644
@@ -74,7 +65,6 @@ index 5105c8d23a..5486e4dc12 100644
ctx.gdbarch = get_objfile_arch (objfile);
diff --git a/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90 b/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90
new file mode 100644
-index 0000000000..261ce17ae5
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90
@@ -0,0 +1,24 @@
@@ -104,7 +94,6 @@ index 0000000000..261ce17ae5
+end subroutine bar
diff --git a/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp b/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp
new file mode 100644
-index 0000000000..570a28ca65
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp
@@ -0,0 +1,39 @@
@@ -149,7 +138,6 @@ index 0000000000..570a28ca65
+gdb_test "bt" {foo \(string='hello'.*}
diff --git a/gdb/testsuite/gdb.fortran/dynamic-other-frame.f90 b/gdb/testsuite/gdb.fortran/dynamic-other-frame.f90
new file mode 100644
-index 0000000000..2bc637db49
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame.f90
@@ -0,0 +1,36 @@
@@ -189,6 +177,3 @@ index 0000000000..2bc637db49
+ end interface
+ call foo ('hello')
+end
---
-2.14.3
-
diff --git a/gdb-vla-intel-tests.patch b/gdb-vla-intel-tests.patch
index 68c2884..066fcc8 100644
--- a/gdb-vla-intel-tests.patch
+++ b/gdb-vla-intel-tests.patch
@@ -6,20 +6,9 @@ Subject: gdb-vla-intel-tests.patch
FileName: gdb-vla-intel-tests.patch
;;=fedoratest
----
- gdb/testsuite/gdb.fortran/vla-func.exp | 61 ++++++++++++++++
- gdb/testsuite/gdb.fortran/vla-func.f90 | 71 +++++++++++++++++++
- gdb/testsuite/gdb.fortran/vla-stringsold.exp | 101 +++++++++++++++++++++++++++
- gdb/testsuite/gdb.fortran/vla-stringsold.f90 | 40 +++++++++++
- 4 files changed, 273 insertions(+)
- create mode 100644 gdb/testsuite/gdb.fortran/vla-func.exp
- create mode 100644 gdb/testsuite/gdb.fortran/vla-func.f90
- create mode 100644 gdb/testsuite/gdb.fortran/vla-stringsold.exp
- create mode 100644 gdb/testsuite/gdb.fortran/vla-stringsold.f90
diff --git a/gdb/testsuite/gdb.fortran/vla-func.exp b/gdb/testsuite/gdb.fortran/vla-func.exp
new file mode 100644
-index 0000000000..f0f236bef0
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-func.exp
@@ -0,0 +1,61 @@
@@ -86,7 +75,6 @@ index 0000000000..f0f236bef0
+ "ptype vla3 (after func2)"
diff --git a/gdb/testsuite/gdb.fortran/vla-func.f90 b/gdb/testsuite/gdb.fortran/vla-func.f90
new file mode 100644
-index 0000000000..7540f54dbb
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-func.f90
@@ -0,0 +1,71 @@
@@ -163,7 +151,6 @@ index 0000000000..7540f54dbb
+end program vla_func
diff --git a/gdb/testsuite/gdb.fortran/vla-stringsold.exp b/gdb/testsuite/gdb.fortran/vla-stringsold.exp
new file mode 100644
-index 0000000000..c1bf7ef763
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-stringsold.exp
@@ -0,0 +1,101 @@
@@ -270,7 +257,6 @@ index 0000000000..c1bf7ef763
+ "ptype var_char_p after associated"
diff --git a/gdb/testsuite/gdb.fortran/vla-stringsold.f90 b/gdb/testsuite/gdb.fortran/vla-stringsold.f90
new file mode 100644
-index 0000000000..0a1d5221d0
--- /dev/null
+++ b/gdb/testsuite/gdb.fortran/vla-stringsold.f90
@@ -0,0 +1,40 @@
@@ -314,6 +300,3 @@ index 0000000000..0a1d5221d0
+ var_char_p => null()
+ l = associated(var_char_p) ! var_char_p-not-associated
+end program vla_strings
---
-2.14.3
-
diff --git a/gdb-x86_64-i386-syscall-restart.patch b/gdb-x86_64-i386-syscall-restart.patch
index 7c731e3..a301628 100644
--- a/gdb-x86_64-i386-syscall-restart.patch
+++ b/gdb-x86_64-i386-syscall-restart.patch
@@ -86,9 +86,6 @@ gdb/
* amd64-nat.c (amd64_collect_native_gregset): Do not pre-clear %eax.
Sign extend it afterwards.
----
- gdb/amd64-nat.c | 20 ++++++++++++++++++--
- 1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c
index 12d364a716..0359edf041 100644
@@ -127,6 +124,3 @@ index 12d364a716..0359edf041 100644
+ }
+ }
}
---
-2.14.3
-
diff --git a/generate-patches-from-git-repo.sh b/generate-patches-from-git-repo.sh
index 97e0408..6790319 100755
--- a/generate-patches-from-git-repo.sh
+++ b/generate-patches-from-git-repo.sh
@@ -71,7 +71,7 @@ for c in `git rev-list --reverse ${common_ancestor}..HEAD` ; do
# before, even if nothing has changed. This is bad, so we replace
# the commit hash by something constant (the string
# "FEDORA_PATCHES").
- git format-patch --keep -1 --stdout $c | sed '1 s/^From \([0-9a-f]\+\) \(.*\)/From FEDORA_PATCHES \2/' > ../$fname
+ git format-patch --no-signature --no-stat --keep -1 --stdout $c | sed -e '1 s/^From [0-9a-f]\+ \(.*\)/From FEDORA_PATCHES \1/' -e '/^index [0-9a-f]\+\.\.[0-9a-f]\+$/d' > ../$fname
(cd .. && git add $fname)
cat >> $temp_PATCH_file <<EOF
reply other threads:[~2026-06-27 23:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178260471729.1.6408533965406167115.rpms-gdb-b7dc57f2a9bf@fedoraproject.org \
--to=sergiodj@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox