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.
This commit is contained in:
Sergio Durigan Junior 2018-05-17 16:11:29 -04:00
parent f62b682777
commit b7dc57f2a9
129 changed files with 2 additions and 1697 deletions

View File

@ -7,16 +7,9 @@ FileName: gdb-6.3-attach-see-vdso-test.patch
;; Test kernel VDSO decoding while attaching to an i386 process. ;; Test kernel VDSO decoding while attaching to an i386 process.
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/attach-see-vdso.c b/gdb/testsuite/gdb.base/attach-see-vdso.c
new file mode 100644 new file mode 100644
index 0000000000..cf3c7207a5
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-see-vdso.c +++ b/gdb/testsuite/gdb.base/attach-see-vdso.c
@@ -0,0 +1,25 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/attach-see-vdso.exp b/gdb/testsuite/gdb.base/attach-see-vdso.exp
new file mode 100644 new file mode 100644
index 0000000000..e8a538097e
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-see-vdso.exp +++ b/gdb/testsuite/gdb.base/attach-see-vdso.exp
@@ -0,0 +1,72 @@ @@ -0,0 +1,72 @@
@ -123,6 +115,3 @@ index 0000000000..e8a538097e
+# work. +# work.
+ +
+remote_exec build "kill -9 ${testpid}" +remote_exec build "kill -9 ${testpid}"
--
2.14.3

View File

@ -7,21 +7,9 @@ FileName: gdb-6.3-bz140532-ppc-unwinding-test.patch
;; Update PPC unwinding patches to their upstream variants (BZ 140532). ;; Update PPC unwinding patches to their upstream variants (BZ 140532).
;;=fedoratest ;;=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 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 new file mode 100644
index 0000000000..1e4301af89
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S +++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm32.S
@@ -0,0 +1,78 @@ @@ -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 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 new file mode 100644
index 0000000000..1af5c19a16
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S +++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue-asm64.S
@@ -0,0 +1,98 @@ @@ -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 diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
new file mode 100644 new file mode 100644
index 0000000000..6b5bb08d0f
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c +++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.c
@@ -0,0 +1,29 @@ @@ -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 diff --git a/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
new file mode 100644 new file mode 100644
index 0000000000..5f50c4ef43
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp +++ b/gdb/testsuite/gdb.arch/powerpc-bcl-prologue.exp
@@ -0,0 +1,72 @@ @@ -0,0 +1,72 @@
@ -336,6 +321,3 @@ index 5251dfa9c3..f3933e2295 100644
verbose "Skipping PowerPC prologue tests." verbose "Skipping PowerPC prologue tests."
return return
} }
--
2.14.3

View File

@ -11,16 +11,9 @@ FileName: gdb-6.3-bz202689-exec-from-pthread-test.patch
2007-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/threaded-exec.exp, gdb.threads/threaded-exec.c: New files. * 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 diff --git a/gdb/testsuite/gdb.threads/threaded-exec.c b/gdb/testsuite/gdb.threads/threaded-exec.c
new file mode 100644 new file mode 100644
index 0000000000..522b24671d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/threaded-exec.c +++ b/gdb/testsuite/gdb.threads/threaded-exec.c
@@ -0,0 +1,46 @@ @@ -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 diff --git a/gdb/testsuite/gdb.threads/threaded-exec.exp b/gdb/testsuite/gdb.threads/threaded-exec.exp
new file mode 100644 new file mode 100644
index 0000000000..77c8a7dc85
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/threaded-exec.exp +++ b/gdb/testsuite/gdb.threads/threaded-exec.exp
@@ -0,0 +1,41 @@ @@ -0,0 +1,41 @@
@ -117,6 +109,3 @@ index 0000000000..77c8a7dc85
+ pass "Program exited" + pass "Program exited"
+ } + }
+} +}
--
2.14.3

View File

@ -7,14 +7,9 @@ FileName: gdb-6.3-focus-cmd-prev-test.patch
;; Test a crash on `focus cmd', `focus prev' commands. ;; Test a crash on `focus cmd', `focus prev' commands.
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/focus-cmd-prev.exp b/gdb/testsuite/gdb.base/focus-cmd-prev.exp
new file mode 100644 new file mode 100644
index 0000000000..d5a653f684
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/focus-cmd-prev.exp +++ b/gdb/testsuite/gdb.base/focus-cmd-prev.exp
@@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
@ -58,6 +53,3 @@ index 0000000000..d5a653f684
+ pass $test + pass $test
+ } + }
+} +}
--
2.14.3

View File

@ -14,15 +14,6 @@ FileName: gdb-6.3-gstack-20050411.patch
* Makefile.in (uninstall-gstack, install-gstack): New rules, add * Makefile.in (uninstall-gstack, install-gstack): New rules, add
to install and uninstall. to install and uninstall.
* gstack.sh, gstack.1: New files. * 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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 17b71c6e7c..e77d6a5c03 100644 index 17b71c6e7c..e77d6a5c03 100644
@ -85,7 +76,6 @@ index 17b71c6e7c..e77d6a5c03 100644
$(COMPILE) -DTEST_CPNAMES cp-name-parser.c $(COMPILE) -DTEST_CPNAMES cp-name-parser.c
diff --git a/gdb/gstack.sh b/gdb/gstack.sh diff --git a/gdb/gstack.sh b/gdb/gstack.sh
new file mode 100644 new file mode 100644
index 0000000000..f7f07248f7
--- /dev/null --- /dev/null
+++ b/gdb/gstack.sh +++ b/gdb/gstack.sh
@@ -0,0 +1,43 @@ @@ -0,0 +1,43 @@
@ -134,7 +124,6 @@ index 0000000000..f7f07248f7
+ -e '/^Thread/p' + -e '/^Thread/p'
diff --git a/gdb/testsuite/gdb.base/gstack.c b/gdb/testsuite/gdb.base/gstack.c diff --git a/gdb/testsuite/gdb.base/gstack.c b/gdb/testsuite/gdb.base/gstack.c
new file mode 100644 new file mode 100644
index 0000000000..dc10813f04
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gstack.c +++ b/gdb/testsuite/gdb.base/gstack.c
@@ -0,0 +1,43 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/gstack.exp b/gdb/testsuite/gdb.base/gstack.exp
new file mode 100644 new file mode 100644
index 0000000000..1186ec57bc
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gstack.exp +++ b/gdb/testsuite/gdb.base/gstack.exp
@@ -0,0 +1,66 @@ @@ -0,0 +1,66 @@
@ -253,6 +241,3 @@ index 0000000000..1186ec57bc
+gdb_exit +gdb_exit
+ +
+remote_exec host "kill -9 $pid" +remote_exec host "kill -9 $pid"
--
2.14.3

View File

@ -18,18 +18,9 @@ FileName: gdb-6.3-inferior-notification-20050721.patch
2007-12-26 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach-32.exp: Fix forgotten $GDBFLAGS as set. * 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 diff --git a/gdb/testsuite/gdb.base/attach-32.c b/gdb/testsuite/gdb.base/attach-32.c
new file mode 100644 new file mode 100644
index 0000000000..0041b4732d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-32.c +++ b/gdb/testsuite/gdb.base/attach-32.c
@@ -0,0 +1,20 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/attach-32.exp b/gdb/testsuite/gdb.base/attach-32.exp
new file mode 100644 new file mode 100644
index 0000000000..67ded02ccf
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-32.exp +++ b/gdb/testsuite/gdb.base/attach-32.exp
@@ -0,0 +1,245 @@ @@ -0,0 +1,245 @@
@ -306,7 +296,6 @@ index 0000000000..67ded02ccf
+return 0 +return 0
diff --git a/gdb/testsuite/gdb.base/attach-32b.c b/gdb/testsuite/gdb.base/attach-32b.c diff --git a/gdb/testsuite/gdb.base/attach-32b.c b/gdb/testsuite/gdb.base/attach-32b.c
new file mode 100644 new file mode 100644
index 0000000000..a78037ed38
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-32b.c +++ b/gdb/testsuite/gdb.base/attach-32b.c
@@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
@ -334,6 +323,3 @@ index 0000000000..a78037ed38
+ } + }
+ return (0); + return (0);
+} +}
--
2.14.3

View File

@ -14,20 +14,9 @@ FileName: gdb-6.3-inheritancetest-20050726.patch
* gdb.cp/b146835.cc: Ditto. * gdb.cp/b146835.cc: Ditto.
* gdb.cp/b146835b.cc: Ditto. * gdb.cp/b146835b.cc: Ditto.
* gdb.cp/b146835.h: 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 diff --git a/gdb/testsuite/gdb.cp/b146835.cc b/gdb/testsuite/gdb.cp/b146835.cc
new file mode 100644 new file mode 100644
index 0000000000..4161d523f5
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835.cc +++ b/gdb/testsuite/gdb.cp/b146835.cc
@@ -0,0 +1,32 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/b146835.exp b/gdb/testsuite/gdb.cp/b146835.exp
new file mode 100644 new file mode 100644
index 0000000000..d03815bcff
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835.exp +++ b/gdb/testsuite/gdb.cp/b146835.exp
@@ -0,0 +1,47 @@ @@ -0,0 +1,47 @@
@ -118,7 +106,6 @@ index 0000000000..d03815bcff
+gdb_test "p d" " = \\(D \\*\\) *0x0" "Verify inherited member d accessible" +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 diff --git a/gdb/testsuite/gdb.cp/b146835.h b/gdb/testsuite/gdb.cp/b146835.h
new file mode 100644 new file mode 100644
index 0000000000..48df7a2935
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835.h +++ b/gdb/testsuite/gdb.cp/b146835.h
@@ -0,0 +1,36 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/b146835b.cc b/gdb/testsuite/gdb.cp/b146835b.cc
new file mode 100644 new file mode 100644
index 0000000000..1853c1fa38
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/b146835b.cc +++ b/gdb/testsuite/gdb.cp/b146835b.cc
@@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
@ -175,6 +161,3 @@ index 0000000000..1853c1fa38
+void A::funcD (class E *e, class D *d) {} +void A::funcD (class E *e, class D *d) {}
+void A::funcE (E *e, D *d) {} +void A::funcE (E *e, D *d) {}
+void A::funcF (unsigned long x, D *d) {} +void A::funcF (unsigned long x, D *d) {}
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-6.3-mapping-zero-inode-test.patch
;; Test GCORE for shmid 0 shared memory mappings. ;; Test GCORE for shmid 0 shared memory mappings.
;;=fedoratest: But it is broken anyway, sometimes the case being tested is not reproducible. ;;=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 diff --git a/gdb/testsuite/gdb.base/gcore-shmid0.c b/gdb/testsuite/gdb.base/gcore-shmid0.c
new file mode 100644 new file mode 100644
index 0000000000..bb9709a75c
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-shmid0.c +++ b/gdb/testsuite/gdb.base/gcore-shmid0.c
@@ -0,0 +1,128 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/gcore-shmid0.exp b/gdb/testsuite/gdb.base/gcore-shmid0.exp
new file mode 100644 new file mode 100644
index 0000000000..b1fec682aa
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-shmid0.exp +++ b/gdb/testsuite/gdb.base/gcore-shmid0.exp
@@ -0,0 +1,101 @@ @@ -0,0 +1,101 @@
@ -255,6 +247,3 @@ index 0000000000..b1fec682aa
+ fail $test + fail $test
+ } + }
+} +}
--
2.14.3

View File

@ -13,9 +13,6 @@ FileName: gdb-6.3-ppc64displaysymbol-20041124.patch
* printcmd.c (build_address_symbolic): Find a section for the * printcmd.c (build_address_symbolic): Find a section for the
address. address.
---
gdb/printcmd.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gdb/printcmd.c b/gdb/printcmd.c diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 6256f35baa..c52e39f7fc 100644 index 6256f35baa..c52e39f7fc 100644
@ -36,6 +33,3 @@ index 6256f35baa..c52e39f7fc 100644
/* First try to find the address in the symbol table, then /* First try to find the address in the symbol table, then
in the minsyms. Take the closest one. */ in the minsyms. Take the closest one. */
--
2.14.3

View File

@ -15,9 +15,6 @@ FileName: gdb-6.3-ppc64syscall-20040622.patch
"func_start". Add local variable "num_skip_linux_syscall_insn", "func_start". Add local variable "num_skip_linux_syscall_insn",
use to skip over first half of a GNU/Linux syscall and update use to skip over first half of a GNU/Linux syscall and update
"func_start". "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 diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index e5a265dbcb..23d0db3b8f 100644 index e5a265dbcb..23d0db3b8f 100644
@ -122,6 +119,3 @@ index e5a265dbcb..23d0db3b8f 100644
struct symtab_and_line this_sal = find_pc_line (pc, 0); struct symtab_and_line this_sal = find_pc_line (pc, 0);
if ((prologue_sal.line == 0) if ((prologue_sal.line == 0)
--
2.14.3

View File

@ -22,9 +22,6 @@ FileName: gdb-6.3-readnever-20050907.patch
* gdb.texinfo (File Options): Document --readnever. * gdb.texinfo (File Options): Document --readnever.
Pushed upstream: https://sourceware.org/ml/gdb-cvs/2017-12/msg00007.html 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 diff --git a/gdb/gcore.in b/gdb/gcore.in
index b7f57cd341..c7e0dec574 100644 index b7f57cd341..c7e0dec574 100644
@ -39,6 +36,3 @@ index b7f57cd341..c7e0dec574 100644
-ex "set pagination off" -ex "set height 0" -ex "set width 0" \ -ex "set pagination off" -ex "set height 0" -ex "set width 0" \
"${dump_all_cmds[@]}" \ "${dump_all_cmds[@]}" \
-ex "attach $pid" -ex "gcore $name.$pid" -ex detach -ex quit -ex "attach $pid" -ex "gcore $name.$pid" -ex detach -ex quit
--
2.14.3

View File

@ -13,9 +13,6 @@ FileName: gdb-6.3-rh-testversion-20041202.patch
* gdb.gdb/selftest.exp: Add matching on specific Red Hat only version * gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
string. 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 diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 20f34983ef..4108e088a9 100644 index 20f34983ef..4108e088a9 100644
@ -31,6 +28,3 @@ index 20f34983ef..4108e088a9 100644
} }
# start the "xgdb" process # start the "xgdb" process
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-6.3-test-dtorfix-20050121.patch
;; Test support of multiple destructors just like multiple constructors ;; Test support of multiple destructors just like multiple constructors
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.cp/constructortest.cc b/gdb/testsuite/gdb.cp/constructortest.cc
new file mode 100644 new file mode 100644
index 0000000000..9ac8793e50
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/constructortest.cc +++ b/gdb/testsuite/gdb.cp/constructortest.cc
@@ -0,0 +1,99 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/constructortest.exp b/gdb/testsuite/gdb.cp/constructortest.exp
new file mode 100644 new file mode 100644
index 0000000000..341f6c99ad
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/constructortest.exp +++ b/gdb/testsuite/gdb.cp/constructortest.exp
@@ -0,0 +1,130 @@ @@ -0,0 +1,130 @@
@ -255,6 +247,3 @@ index 0000000000..341f6c99ad
+} +}
+ +
+gdb_continue_to_breakpoint "First line ~C" +gdb_continue_to_breakpoint "First line ~C"
--
2.14.3

View File

@ -13,18 +13,9 @@ FileName: gdb-6.3-test-movedir-20050125.patch
* gdb.base/move-dir.exp: New test. * gdb.base/move-dir.exp: New test.
* gdb.base/move-dir.c: Ditto. * gdb.base/move-dir.c: Ditto.
* gdb.base/move-dir.h: 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 diff --git a/gdb/testsuite/gdb.base/move-dir.c b/gdb/testsuite/gdb.base/move-dir.c
new file mode 100644 new file mode 100644
index 0000000000..89b65b4b6a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/move-dir.c +++ b/gdb/testsuite/gdb.base/move-dir.c
@@ -0,0 +1,10 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/move-dir.exp b/gdb/testsuite/gdb.base/move-dir.exp
new file mode 100644 new file mode 100644
index 0000000000..f189ea77b9
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/move-dir.exp +++ b/gdb/testsuite/gdb.base/move-dir.exp
@@ -0,0 +1,57 @@ @@ -0,0 +1,57 @@
@ -103,7 +93,6 @@ index 0000000000..f189ea77b9
+return 0 +return 0
diff --git a/gdb/testsuite/gdb.base/move-dir.h b/gdb/testsuite/gdb.base/move-dir.h diff --git a/gdb/testsuite/gdb.base/move-dir.h b/gdb/testsuite/gdb.base/move-dir.h
new file mode 100644 new file mode 100644
index 0000000000..4a99725a00
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/move-dir.h +++ b/gdb/testsuite/gdb.base/move-dir.h
@@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
@ -114,6 +103,3 @@ index 0000000000..4a99725a00
+ printf ("%s\n", ostring);; + printf ("%s\n", ostring);;
+} +}
+ +
--
2.14.3

View File

@ -7,28 +7,9 @@ FileName: gdb-6.3-test-pie-20050107.patch
;; VSYSCALL and PIE ;; VSYSCALL and PIE
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.pie/attach.c b/gdb/testsuite/gdb.pie/attach.c
new file mode 100644 new file mode 100644
index 0000000000..0041b4732d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/attach.c +++ b/gdb/testsuite/gdb.pie/attach.c
@@ -0,0 +1,20 @@ @@ -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 diff --git a/gdb/testsuite/gdb.pie/attach.exp b/gdb/testsuite/gdb.pie/attach.exp
new file mode 100644 new file mode 100644
index 0000000000..648c92608c
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/attach.exp +++ b/gdb/testsuite/gdb.pie/attach.exp
@@ -0,0 +1,416 @@ @@ -0,0 +1,416 @@
@ -476,7 +456,6 @@ index 0000000000..648c92608c
+return 0 +return 0
diff --git a/gdb/testsuite/gdb.pie/attach2.c b/gdb/testsuite/gdb.pie/attach2.c diff --git a/gdb/testsuite/gdb.pie/attach2.c b/gdb/testsuite/gdb.pie/attach2.c
new file mode 100644 new file mode 100644
index 0000000000..a78037ed38
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/attach2.c +++ b/gdb/testsuite/gdb.pie/attach2.c
@@ -0,0 +1,24 @@ @@ -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 diff --git a/gdb/testsuite/gdb.pie/break.c b/gdb/testsuite/gdb.pie/break.c
new file mode 100644 new file mode 100644
index 0000000000..bf398fcca9
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/break.c +++ b/gdb/testsuite/gdb.pie/break.c
@@ -0,0 +1,146 @@ @@ -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 diff --git a/gdb/testsuite/gdb.pie/break.exp b/gdb/testsuite/gdb.pie/break.exp
new file mode 100644 new file mode 100644
index 0000000000..97b87397c2
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/break.exp +++ b/gdb/testsuite/gdb.pie/break.exp
@@ -0,0 +1,954 @@ @@ -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 diff --git a/gdb/testsuite/gdb.pie/break1.c b/gdb/testsuite/gdb.pie/break1.c
new file mode 100644 new file mode 100644
index 0000000000..2ed8b2a4a0
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/break1.c +++ b/gdb/testsuite/gdb.pie/break1.c
@@ -0,0 +1,44 @@ @@ -0,0 +1,44 @@
@ -1668,7 +1644,6 @@ index 0000000000..2ed8b2a4a0
+#endif +#endif
diff --git a/gdb/testsuite/gdb.pie/corefile.exp b/gdb/testsuite/gdb.pie/corefile.exp diff --git a/gdb/testsuite/gdb.pie/corefile.exp b/gdb/testsuite/gdb.pie/corefile.exp
new file mode 100644 new file mode 100644
index 0000000000..ca4b01be3e
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/corefile.exp +++ b/gdb/testsuite/gdb.pie/corefile.exp
@@ -0,0 +1,233 @@ @@ -0,0 +1,233 @@
@ -1907,7 +1882,6 @@ index 0000000000..ca4b01be3e
+gdb_test "core" "No core file now." +gdb_test "core" "No core file now."
diff --git a/gdb/testsuite/gdb.pie/coremaker.c b/gdb/testsuite/gdb.pie/coremaker.c diff --git a/gdb/testsuite/gdb.pie/coremaker.c b/gdb/testsuite/gdb.pie/coremaker.c
new file mode 100644 new file mode 100644
index 0000000000..a7fbd94141
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pie/coremaker.c +++ b/gdb/testsuite/gdb.pie/coremaker.c
@@ -0,0 +1,142 @@ @@ -0,0 +1,142 @@
@ -2053,6 +2027,3 @@ index 0000000000..a7fbd94141
+ return 0; + return 0;
+} +}
+ +
--
2.14.3

View File

@ -15,9 +15,6 @@ FileName: gdb-6.3-test-self-20050110.patch
* gdb.gdb/complaints.exp: Ditto. * gdb.gdb/complaints.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto. * gdb.gdb/xfullpath.exp: Ditto.
* gdb.gdb/observer.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 diff --git a/gdb/testsuite/lib/selftest-support.exp b/gdb/testsuite/lib/selftest-support.exp
index 89e2e3f4ef..ea027a6f7d 100644 index 89e2e3f4ef..ea027a6f7d 100644
@ -46,6 +43,3 @@ index 89e2e3f4ef..ea027a6f7d 100644
if {$result < 0} then { if {$result < 0} then {
warning "Couldn't test self" warning "Couldn't test self"
--
2.14.3

View File

@ -51,16 +51,9 @@ FileName: gdb-6.3-threaded-watchpoints2-20050225.patch
testcase of the same name. ] testcase of the same name. ]
FIXME: The testcase does not expects multiple watchpoints hits per one stop. 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 diff --git a/gdb/testsuite/gdb.threads/watchthreads-threaded.c b/gdb/testsuite/gdb.threads/watchthreads-threaded.c
new file mode 100644 new file mode 100644
index 0000000000..1402640ccf
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/watchthreads-threaded.c +++ b/gdb/testsuite/gdb.threads/watchthreads-threaded.c
@@ -0,0 +1,66 @@ @@ -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 diff --git a/gdb/testsuite/gdb.threads/watchthreads-threaded.exp b/gdb/testsuite/gdb.threads/watchthreads-threaded.exp
new file mode 100644 new file mode 100644
index 0000000000..e9cdd59771
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/watchthreads-threaded.exp +++ b/gdb/testsuite/gdb.threads/watchthreads-threaded.exp
@@ -0,0 +1,126 @@ @@ -0,0 +1,126 @@
@ -262,6 +254,3 @@ index 0000000000..e9cdd59771
+} else { +} else {
+ fail $message + fail $message
+} +}
--
2.14.3

View File

@ -7,20 +7,9 @@ FileName: gdb-6.5-BEA-testsuite.patch
;; Improved testsuite results by the testsuite provided by the courtesy of BEA. ;; 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. ;;=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 diff --git a/gdb/testsuite/gdb.threads/threadcrash.c b/gdb/testsuite/gdb.threads/threadcrash.c
new file mode 100644 new file mode 100644
index 0000000000..80c599d0fb
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.c +++ b/gdb/testsuite/gdb.threads/threadcrash.c
@@ -0,0 +1,301 @@ @@ -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 diff --git a/gdb/testsuite/gdb.threads/threadcrash.exp b/gdb/testsuite/gdb.threads/threadcrash.exp
new file mode 100644 new file mode 100644
index 0000000000..af6b919f58
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.exp +++ b/gdb/testsuite/gdb.threads/threadcrash.exp
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
@ -370,7 +358,6 @@ index 0000000000..af6b919f58
+return 0 +return 0
diff --git a/gdb/testsuite/gdb.threads/threadcrash.sh b/gdb/testsuite/gdb.threads/threadcrash.sh diff --git a/gdb/testsuite/gdb.threads/threadcrash.sh b/gdb/testsuite/gdb.threads/threadcrash.sh
new file mode 100644 new file mode 100644
index 0000000000..7f7e6520d6
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.sh +++ b/gdb/testsuite/gdb.threads/threadcrash.sh
@@ -0,0 +1,324 @@ @@ -0,0 +1,324 @@
@ -700,7 +687,6 @@ index 0000000000..7f7e6520d6
+exit $FAILURES +exit $FAILURES
diff --git a/gdb/testsuite/gdb.threads/threadcrash.sh-orig b/gdb/testsuite/gdb.threads/threadcrash.sh-orig diff --git a/gdb/testsuite/gdb.threads/threadcrash.sh-orig b/gdb/testsuite/gdb.threads/threadcrash.sh-orig
new file mode 100644 new file mode 100644
index 0000000000..eb602036c2
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/threadcrash.sh-orig +++ b/gdb/testsuite/gdb.threads/threadcrash.sh-orig
@@ -0,0 +1,248 @@ @@ -0,0 +1,248 @@
@ -952,6 +938,3 @@ index 0000000000..eb602036c2
+rm -rf $WORKDIR +rm -rf $WORKDIR
+ +
+exit $FAILURES +exit $FAILURES
--
2.14.3

View File

@ -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.exp, gdb.dwarf2/dw2-included.c,
gdb.dwarf2/dw2-included.h: New files. 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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-included.c b/gdb/testsuite/gdb.dwarf2/dw2-included.c
new file mode 100644 new file mode 100644
index 0000000000..28e54fb932
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-included.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-included.c
@@ -0,0 +1,26 @@ @@ -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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-included.exp b/gdb/testsuite/gdb.dwarf2/dw2-included.exp
new file mode 100644 new file mode 100644
index 0000000000..9aaf8e9772
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-included.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-included.exp
@@ -0,0 +1,47 @@ @@ -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" +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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-included.h b/gdb/testsuite/gdb.dwarf2/dw2-included.h
new file mode 100644 new file mode 100644
index 0000000000..f31348ab4f
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-included.h +++ b/gdb/testsuite/gdb.dwarf2/dw2-included.h
@@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
@ -145,6 +134,3 @@ index 0000000000..f31348ab4f
+ USA. */ + USA. */
+ +
+int integer; +int integer;
--
2.14.3

View File

@ -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: 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 <81a2> DW_AT_name : (indirect string, offset: 0x280e): __errno_location
<81a8> DW_AT_MIPS_linkage_name: (indirect string, offset: 0x2808): *__GI___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 diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index c52e39f7fc..ad80b1bebf 100644 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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno.c b/gdb/testsuite/gdb.dwarf2/dw2-errno.c
new file mode 100644 new file mode 100644
index 0000000000..7bd10d0978
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-errno.c
@@ -0,0 +1,28 @@ @@ -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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno.exp b/gdb/testsuite/gdb.dwarf2/dw2-errno.exp
new file mode 100644 new file mode 100644
index 0000000000..1f13cc1323
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-errno.exp
@@ -0,0 +1,60 @@ @@ -0,0 +1,60 @@
@ -171,7 +158,6 @@ index 0000000000..1f13cc1323
+# Just how to find the current libc filename? +# 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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno2.c b/gdb/testsuite/gdb.dwarf2/dw2-errno2.c
new file mode 100644 new file mode 100644
index 0000000000..7bd10d0978
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno2.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-errno2.c
@@ -0,0 +1,28 @@ @@ -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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp b/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp
new file mode 100644 new file mode 100644
index 0000000000..0f6e66870b
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-errno2.exp
@@ -0,0 +1,71 @@ @@ -0,0 +1,71 @@
@ -280,6 +265,3 @@ index 0000000000..0f6e66870b
+ +
+# TODO: Test the error on resolving ERRNO with only libc loaded. +# TODO: Test the error on resolving ERRNO with only libc loaded.
+# Just how to find the current libc filename? +# Just how to find the current libc filename?
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-6.5-bz203661-emit-relocs.patch
;; Fix debuginfo addresses resolving for --emit-relocs Linux kernels (BZ 203661). ;; 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. ;;=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 diff --git a/gdb/symfile.c b/gdb/symfile.c
index f7f75b05d3..7cda615e74 100644 index f7f75b05d3..7cda615e74 100644
@ -28,6 +25,3 @@ index f7f75b05d3..7cda615e74 100644
/* We're only interested in sections with relocation /* We're only interested in sections with relocation
information. */ information. */
if ((sectp->flags & SEC_RELOC) == 0) if ((sectp->flags & SEC_RELOC) == 0)
--
2.14.3

View File

@ -32,16 +32,6 @@ instead.
2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
Port to GDB-6.7. 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 diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index 2bd3d31b75..2623bae42d 100644 index 2bd3d31b75..2623bae42d 100644
@ -210,7 +200,6 @@ index a71c103a88..5ee336b8cb 100644
/* Floating-point registers. */ /* Floating-point registers. */
diff --git a/gdb/testsuite/gdb.threads/bt-clone-stop.c b/gdb/testsuite/gdb.threads/bt-clone-stop.c diff --git a/gdb/testsuite/gdb.threads/bt-clone-stop.c b/gdb/testsuite/gdb.threads/bt-clone-stop.c
new file mode 100644 new file mode 100644
index 0000000000..2ac93f8664
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/bt-clone-stop.c +++ b/gdb/testsuite/gdb.threads/bt-clone-stop.c
@@ -0,0 +1,39 @@ @@ -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 diff --git a/gdb/testsuite/gdb.threads/bt-clone-stop.exp b/gdb/testsuite/gdb.threads/bt-clone-stop.exp
new file mode 100644 new file mode 100644
index 0000000000..02728e05b9
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/bt-clone-stop.exp +++ b/gdb/testsuite/gdb.threads/bt-clone-stop.exp
@@ -0,0 +1,61 @@ @@ -0,0 +1,61 @@
@ -320,6 +308,3 @@ index 0000000000..02728e05b9
+ pass "0x0 entry not found" + pass "0x0 entry not found"
+ } + }
+} +}
--
2.14.3

View File

@ -9,16 +9,9 @@ FileName: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch
;;=fedoratest ;;=fedoratest
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379 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 diff --git a/gdb/testsuite/gdb.base/step-over-trampoline.c b/gdb/testsuite/gdb.base/step-over-trampoline.c
new file mode 100644 new file mode 100644
index 0000000000..a012da1031
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/step-over-trampoline.c +++ b/gdb/testsuite/gdb.base/step-over-trampoline.c
@@ -0,0 +1,28 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/step-over-trampoline.exp b/gdb/testsuite/gdb.base/step-over-trampoline.exp
new file mode 100644 new file mode 100644
index 0000000000..a183e36263
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/step-over-trampoline.exp +++ b/gdb/testsuite/gdb.base/step-over-trampoline.exp
@@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
@ -110,6 +102,3 @@ index 0000000000..a183e36263
+ fail "stepped into trampoline" + fail "stepped into trampoline"
+ } + }
+} +}
--
2.14.3

View File

@ -9,9 +9,6 @@ FileName: gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch
;;=fedora ;;=fedora
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218379 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 diff --git a/gdb/symtab.c b/gdb/symtab.c
index 81f4fc9ec5..a7e8431cfe 100644 index 81f4fc9ec5..a7e8431cfe 100644
@ -31,6 +28,3 @@ index 81f4fc9ec5..a7e8431cfe 100644
else else
return find_pc_line (BMSYMBOL_VALUE_ADDRESS (mfunsym), 0); return find_pc_line (BMSYMBOL_VALUE_ADDRESS (mfunsym), 0);
} }
--
2.14.3

View File

@ -7,14 +7,9 @@ FileName: gdb-6.5-bz243845-stale-testing-zombie-test.patch
;; Test leftover zombie process (BZ 243845). ;; Test leftover zombie process (BZ 243845).
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/tracefork-zombie.exp b/gdb/testsuite/gdb.base/tracefork-zombie.exp
new file mode 100644 new file mode 100644
index 0000000000..5807040840
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/tracefork-zombie.exp +++ b/gdb/testsuite/gdb.base/tracefork-zombie.exp
@@ -0,0 +1,75 @@ @@ -0,0 +1,75 @@
@ -93,6 +88,3 @@ index 0000000000..5807040840
+} else { +} else {
+ fail $test + fail $test
+} +}
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-6.5-gcore-buffer-limit-test.patch
;; Test gcore memory and time requirements for large inferiors. ;; Test gcore memory and time requirements for large inferiors.
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/gcore-excessive-memory.c b/gdb/testsuite/gdb.base/gcore-excessive-memory.c
new file mode 100644 new file mode 100644
index 0000000000..56b4d3a63a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-excessive-memory.c +++ b/gdb/testsuite/gdb.base/gcore-excessive-memory.c
@@ -0,0 +1,37 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/gcore-excessive-memory.exp b/gdb/testsuite/gdb.base/gcore-excessive-memory.exp
new file mode 100644 new file mode 100644
index 0000000000..4e71b5534e
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-excessive-memory.exp +++ b/gdb/testsuite/gdb.base/gcore-excessive-memory.exp
@@ -0,0 +1,94 @@ @@ -0,0 +1,94 @@
@ -157,6 +149,3 @@ index 0000000000..4e71b5534e
+ +
+# Cleanup. +# Cleanup.
+exec kill -9 $pid_of_bin +exec kill -9 $pid_of_bin
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-6.5-ia64-libunwind-leak-test.patch
;; Test ia64 memory leaks of the code using libunwind. ;; Test ia64 memory leaks of the code using libunwind.
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/unwind-leak.c b/gdb/testsuite/gdb.base/unwind-leak.c
new file mode 100644 new file mode 100644
index 0000000000..58e34fb264
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/unwind-leak.c +++ b/gdb/testsuite/gdb.base/unwind-leak.c
@@ -0,0 +1,29 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/unwind-leak.exp b/gdb/testsuite/gdb.base/unwind-leak.exp
new file mode 100644 new file mode 100644
index 0000000000..098962a57c
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/unwind-leak.exp +++ b/gdb/testsuite/gdb.base/unwind-leak.exp
@@ -0,0 +1,83 @@ @@ -0,0 +1,83 @@
@ -138,6 +130,3 @@ index 0000000000..098962a57c
+ fail $test + fail $test
+ } + }
+} +}
--
2.14.3

View File

@ -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. ;; Testcase for deadlocking on last address space byte; for corrupted backtraces.
;;=fedoratest ;;=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 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 new file mode 100644
index 0000000000..8a597e9b15
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/largecore-last-address-lock.exp +++ b/gdb/testsuite/gdb.base/largecore-last-address-lock.exp
@@ -0,0 +1,49 @@ @@ -0,0 +1,49 @@
@ -67,6 +62,3 @@ index 0000000000..8a597e9b15
+ "Read the last address space byte" + "Read the last address space byte"
+ +
+set timeout ${timeoutold} +set timeout ${timeoutold}
--
2.14.3

View File

@ -10,16 +10,9 @@ FileName: gdb-6.5-missed-trap-on-step-test.patch
Fix has been committed to: Fix has been committed to:
gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch 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 diff --git a/gdb/testsuite/gdb.base/watchpoint-during-step.c b/gdb/testsuite/gdb.base/watchpoint-during-step.c
new file mode 100644 new file mode 100644
index 0000000000..107eae45a0
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-during-step.c +++ b/gdb/testsuite/gdb.base/watchpoint-during-step.c
@@ -0,0 +1,30 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/watchpoint-during-step.exp b/gdb/testsuite/gdb.base/watchpoint-during-step.exp
new file mode 100644 new file mode 100644
index 0000000000..12ba99f1a9
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-during-step.exp +++ b/gdb/testsuite/gdb.base/watchpoint-during-step.exp
@@ -0,0 +1,44 @@ @@ -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 +# 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" +gdb_test "step" ".*Old value = 2.*New value = 3.*" "Catch the watchpoint"
--
2.14.3

View File

@ -9,14 +9,9 @@ FileName: gdb-6.5-readline-long-line-crash-test.patch
;;=fedoratest ;;=fedoratest
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214196 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 diff --git a/gdb/testsuite/gdb.base/readline-overflow.exp b/gdb/testsuite/gdb.base/readline-overflow.exp
new file mode 100644 new file mode 100644
index 0000000000..5e46816d21
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/readline-overflow.exp +++ b/gdb/testsuite/gdb.base/readline-overflow.exp
@@ -0,0 +1,126 @@ @@ -0,0 +1,126 @@
@ -146,6 +141,3 @@ index 0000000000..5e46816d21
+} +}
+set timeout $oldtimeout1 +set timeout $oldtimeout1
+ +
--
2.14.3

View File

@ -7,18 +7,9 @@ FileName: gdb-6.5-section-num-fixup-test.patch
;; Test a crash on libraries missing the .text section. ;; Test a crash on libraries missing the .text section.
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/datalib-lib.c b/gdb/testsuite/gdb.base/datalib-lib.c
new file mode 100644 new file mode 100644
index 0000000000..dd39e23746
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/datalib-lib.c +++ b/gdb/testsuite/gdb.base/datalib-lib.c
@@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
@ -46,7 +37,6 @@ index 0000000000..dd39e23746
+int var; +int var;
diff --git a/gdb/testsuite/gdb.base/datalib-main.c b/gdb/testsuite/gdb.base/datalib-main.c diff --git a/gdb/testsuite/gdb.base/datalib-main.c b/gdb/testsuite/gdb.base/datalib-main.c
new file mode 100644 new file mode 100644
index 0000000000..4e0b80d2d6
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/datalib-main.c +++ b/gdb/testsuite/gdb.base/datalib-main.c
@@ -0,0 +1,26 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/datalib.exp b/gdb/testsuite/gdb.base/datalib.exp
new file mode 100644 new file mode 100644
index 0000000000..385716d901
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/datalib.exp +++ b/gdb/testsuite/gdb.base/datalib.exp
@@ -0,0 +1,51 @@ @@ -0,0 +1,51 @@
@ -133,6 +122,3 @@ index 0000000000..385716d901
+gdb_test "start" \ +gdb_test "start" \
+ "main \\(\\) at .*${srcfilemain}.*" \ + "main \\(\\) at .*${srcfilemain}.*" \
+ "start" + "start"
--
2.14.3

View File

@ -30,18 +30,9 @@ The testsuite needs `gdb-6.5-tls-of-separate-debuginfo.patch'.
2008-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> 2008-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Port to gdb-6.7.50.20080227. 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 diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug-main.c b/gdb/testsuite/gdb.threads/tls-sepdebug-main.c
new file mode 100644 new file mode 100644
index 0000000000..ea5d0174d6
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-sepdebug-main.c +++ b/gdb/testsuite/gdb.threads/tls-sepdebug-main.c
@@ -0,0 +1,25 @@ @@ -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 diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c b/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c
new file mode 100644 new file mode 100644
index 0000000000..61b49251ba
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c +++ b/gdb/testsuite/gdb.threads/tls-sepdebug-shared.c
@@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
@ -100,7 +90,6 @@ index 0000000000..61b49251ba
+__thread int var = 42; +__thread int var = 42;
diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug.exp b/gdb/testsuite/gdb.threads/tls-sepdebug.exp diff --git a/gdb/testsuite/gdb.threads/tls-sepdebug.exp b/gdb/testsuite/gdb.threads/tls-sepdebug.exp
new file mode 100644 new file mode 100644
index 0000000000..00773f78f2
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/tls-sepdebug.exp +++ b/gdb/testsuite/gdb.threads/tls-sepdebug.exp
@@ -0,0 +1,87 @@ @@ -0,0 +1,87 @@
@ -191,6 +180,3 @@ index 0000000000..00773f78f2
+ "\\\$1 = \[0-9\].*" \ + "\\\$1 = \[0-9\].*" \
+ "print TLS variable from a shared library with $name-directory separate debug info file" + "print TLS variable from a shared library with $name-directory separate debug info file"
+} +}
--
2.14.3

View File

@ -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 * exec.c (exec_file_attach): Print a more useful error message if the
user did "gdb core". 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 diff --git a/gdb/common/common-exceptions.h b/gdb/common/common-exceptions.h
index 15c85e28ab..9fe2375bce 100644 index 15c85e28ab..9fe2375bce 100644
@ -205,6 +200,3 @@ index 3c98787edb..17d35f4a8a 100644
catch_command_errors (symbol_file_add_main_adapter, symarg, catch_command_errors (symbol_file_add_main_adapter, symarg,
!batch_flag); !batch_flag);
} }
--
2.14.3

View File

@ -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 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 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 ..."). 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 diff --git a/gdb/build-id.c b/gdb/build-id.c
index 409a5b8c54..e2c1e81266 100644 index 409a5b8c54..e2c1e81266 100644
@ -50,7 +45,6 @@ index 409a5b8c54..e2c1e81266 100644
break; 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 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 new file mode 100644
index 0000000000..bb70c5cf44
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp +++ b/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
@@ -0,0 +1,97 @@ @@ -0,0 +1,97 @@
@ -151,6 +145,3 @@ index 0000000000..bb70c5cf44
+ +
+# Leaving the link there will cause breakage in the next run. +# Leaving the link there will cause breakage in the next run.
+remote_exec build "rm -f [standard_output_file ${build_id_without_debug}]" +remote_exec build "rm -f [standard_output_file ${build_id_without_debug}]"
--
2.14.3

View File

@ -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). ;; Workaround librpm BZ 643031 due to its unexpected exit() calls (BZ 642879).
;;=push+jan ;;=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 diff --git a/gdb/build-id.c b/gdb/build-id.c
index d60cf622dc..409a5b8c54 100644 index d60cf622dc..409a5b8c54 100644
@ -48,6 +44,3 @@ index 53f7ed8b1e..323f5e83c2 100644
+ /* gdb-6.6-buildid-locate-rpm.patch */ + /* gdb-6.6-buildid-locate-rpm.patch */
+ rpmsqEnable; + rpmsqEnable;
}; };
--
2.14.3

View File

@ -10,10 +10,6 @@ FileName: gdb-6.6-buildid-locate-rpm-scl.patch
warning: Skipping deprecated .gdb_index section warning: Skipping deprecated .gdb_index section
https://bugzilla.redhat.com/show_bug.cgi?id=953585 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 diff --git a/gdb/build-id.c b/gdb/build-id.c
index e2c1e81266..1b75530f91 100644 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 /* Version 7 indices generated by gold refer to the CU for a symbol instead
of the TU (for symbols coming from TUs), of the TU (for symbols coming from TUs),
--
2.14.3

View File

@ -6,16 +6,6 @@ Subject: gdb-6.6-buildid-locate-rpm.patch
FileName: gdb-6.6-buildid-locate-rpm.patch FileName: gdb-6.6-buildid-locate-rpm.patch
;;=push+jan ;;=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 diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4
index e0d38ea267..da5ac313e3 100644 index e0d38ea267..da5ac313e3 100644
@ -1530,6 +1520,3 @@ index 0d51f46d78..82c76431e1 100644
/* From dwarf2read.c */ /* From dwarf2read.c */
--
2.14.3

View File

@ -12,15 +12,6 @@ FileName: gdb-6.6-buildid-locate-solib-missing-ids.patch
gdb returns an incorrect back trace when applying a debuginfo gdb returns an incorrect back trace when applying a debuginfo
https://bugzilla.redhat.com/show_bug.cgi?id=1339862 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 diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index a3399ad8f7..d7eeb6350d 100644 index a3399ad8f7..d7eeb6350d 100644
@ -83,7 +74,6 @@ index a3399ad8f7..d7eeb6350d 100644
xfree (build_id); 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 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 new file mode 100644
index 0000000000..d74b690c73
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,21 @@ @@ -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 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 new file mode 100644
index 0000000000..46b9dfe161
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,25 @@ @@ -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 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 new file mode 100644
index 0000000000..0c46489f31
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp +++ b/gdb/testsuite/gdb.base/gcore-buildid-exec-but-not-solib.exp
@@ -0,0 +1,105 @@ @@ -0,0 +1,105 @@
@ -250,6 +238,3 @@ index 0000000000..0c46489f31
+ +
+gdb_test "bt" +gdb_test "bt"
+gdb_test "info shared" +gdb_test "info shared"
--
2.14.3

View File

@ -7,23 +7,6 @@ FileName: gdb-6.6-buildid-locate.patch
;; New locating of the matching binaries from the pure core file (build-id). ;; New locating of the matching binaries from the pure core file (build-id).
;;=push+jan ;;=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 diff --git a/gdb/build-id.c b/gdb/build-id.c
index 945da4f3cf..5740628386 100644 index 945da4f3cf..5740628386 100644
@ -1304,6 +1287,3 @@ index 2846da74e4..004c3e6c1c 100644
if { $separate_inferior_pty } { if { $separate_inferior_pty } {
mi_create_inferior_pty mi_create_inferior_pty
--
2.14.3

View File

@ -15,16 +15,9 @@ FileName: gdb-6.6-bz229517-gcore-without-terminal.patch
2007-04-22 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gcorebg.exp, gdb.base/gcorebg.c: New files. * 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 diff --git a/gdb/testsuite/gdb.base/gcorebg.c b/gdb/testsuite/gdb.base/gcorebg.c
new file mode 100644 new file mode 100644
index 0000000000..427ebe9b4f
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcorebg.c +++ b/gdb/testsuite/gdb.base/gcorebg.c
@@ -0,0 +1,49 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/gcorebg.exp b/gdb/testsuite/gdb.base/gcorebg.exp
new file mode 100644 new file mode 100644
index 0000000000..a5471ba5df
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gcorebg.exp +++ b/gdb/testsuite/gdb.base/gcorebg.exp
@@ -0,0 +1,113 @@ @@ -0,0 +1,113 @@
@ -196,6 +188,3 @@ index 0000000000..a5471ba5df
+ +
+set env(PATH) $oldpath +set env(PATH) $oldpath
+remote_file target delete "./gdb" +remote_file target delete "./gdb"
--
2.14.3

View File

@ -13,16 +13,9 @@ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230000
The original testcase The original testcase
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230000#c1 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230000#c1
requires too recent GCC. 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 diff --git a/gdb/testsuite/gdb.arch/powerpc-power6.exp b/gdb/testsuite/gdb.arch/powerpc-power6.exp
new file mode 100644 new file mode 100644
index 0000000000..082a4b7802
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power6.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power6.exp
@@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
@ -82,7 +75,6 @@ index 0000000000..082a4b7802
+gdb_test "disass func" ":\tdcmpuq *cr1,f2,f0\r\n.*" "Power6 disassembly dcmpuq" +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 diff --git a/gdb/testsuite/gdb.arch/powerpc-power6.s b/gdb/testsuite/gdb.arch/powerpc-power6.s
new file mode 100644 new file mode 100644
index 0000000000..6694b237ab
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power6.s +++ b/gdb/testsuite/gdb.arch/powerpc-power6.s
@@ -0,0 +1,16 @@ @@ -0,0 +1,16 @@
@ -102,6 +94,3 @@ index 0000000000..6694b237ab
+ .long 0xfc020444 /* ddivq f0,f2,f0 */ + .long 0xfc020444 /* ddivq f0,f2,f0 */
+ .long 0xec820d04 /* dcmpu cr1,f2,f1 */ + .long 0xec820d04 /* dcmpu cr1,f2,f1 */
+ .long 0xfc820504 /* dcmpuq cr1,f2,f0 */ + .long 0xfc820504 /* dcmpuq cr1,f2,f0 */
--
2.14.3

View File

@ -12,14 +12,6 @@ FileName: gdb-6.6-bz235197-fork-detach-info.patch
Port to GDB-6.8pre. Port to GDB-6.8pre.
Remove the `[' character from the GDB-6.8 default message. 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 diff --git a/gdb/infrun.c b/gdb/infrun.c
index e1d11234e0..23439979b5 100644 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 diff --git a/gdb/testsuite/gdb.base/fork-detach.c b/gdb/testsuite/gdb.base/fork-detach.c
new file mode 100644 new file mode 100644
index 0000000000..0ba8f465f3
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/fork-detach.c +++ b/gdb/testsuite/gdb.base/fork-detach.c
@@ -0,0 +1,57 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/fork-detach.exp b/gdb/testsuite/gdb.base/fork-detach.exp
new file mode 100644 new file mode 100644
index 0000000000..1f1fcef6c4
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/fork-detach.exp +++ b/gdb/testsuite/gdb.base/fork-detach.exp
@@ -0,0 +1,36 @@ @@ -0,0 +1,36 @@
@ -161,6 +151,3 @@ index 0000000000..1f1fcef6c4
+gdb_test "" \ +gdb_test "" \
+ "Detaching after fork from child process.*\\\[Inferior .* exited normally\\\]" \ + "Detaching after fork from child process.*\\\[Inferior .* exited normally\\\]" \
+ "Info message caught" + "Info message caught"
--
2.14.3

View File

@ -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.c,
gdb.threads/atomic-seq-threaded.exp: New files. 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 diff --git a/gdb/testsuite/gdb.threads/atomic-seq-threaded.c b/gdb/testsuite/gdb.threads/atomic-seq-threaded.c
new file mode 100644 new file mode 100644
index 0000000000..04f998bfa6
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/atomic-seq-threaded.c +++ b/gdb/testsuite/gdb.threads/atomic-seq-threaded.c
@@ -0,0 +1,171 @@ @@ -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 diff --git a/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp b/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp
new file mode 100644 new file mode 100644
index 0000000000..eb49db506e
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp +++ b/gdb/testsuite/gdb.threads/atomic-seq-threaded.exp
@@ -0,0 +1,84 @@ @@ -0,0 +1,84 @@
@ -286,6 +278,3 @@ index 0000000000..eb49db506e
+gdb_test "c" \ +gdb_test "c" \
+ ".*Program exited normally\\..*" \ + ".*Program exited normally\\..*" \
+ "run till program exit" + "run till program exit"
--
2.14.3

View File

@ -7,13 +7,6 @@ FileName: gdb-6.6-scheduler_locking-step-is-default.patch
;; Make upstream `set scheduler-locking step' as default. ;; Make upstream `set scheduler-locking step' as default.
;;=push+jan: How much is scheduler-locking relevant after non-stop? ;;=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 diff --git a/gdb/infrun.c b/gdb/infrun.c
index 23439979b5..1d0f731954 100644 index 23439979b5..1d0f731954 100644
@ -90,6 +83,3 @@ index 5227d63f5d..782f31c080 100644
pass $message pass $message
} }
timeout { timeout {
--
2.14.3

View File

@ -7,10 +7,6 @@ FileName: gdb-6.6-testsuite-timeouts.patch
;; Avoid too long timeouts on failing cases of "annota1.exp annota3.exp". ;; Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp
index 4b34aa84f2..40e08a4db2 100644 index 4b34aa84f2..40e08a4db2 100644
@ -38,6 +34,3 @@ index a899be69ea..af472af8a5 100644
# The commands we test here produce many lines of output; disable "press # The commands we test here produce many lines of output; disable "press
# <return> to continue" prompts. # <return> to continue" prompts.
gdb_test_no_output "set height 0" gdb_test_no_output "set height 0"
--
2.14.3

View File

@ -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, Port to GDB-6.7 - only the testcase left, patch has been reverted,
char-vectors restricted. 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 diff --git a/gdb/testsuite/gdb.base/charsign.c b/gdb/testsuite/gdb.base/charsign.c
new file mode 100644 new file mode 100644
index 0000000000..41d175ff9d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/charsign.c +++ b/gdb/testsuite/gdb.base/charsign.c
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
@ -71,7 +64,6 @@ index 0000000000..41d175ff9d
+char_u u_typed[]="A"; +char_u u_typed[]="A";
diff --git a/gdb/testsuite/gdb.base/charsign.exp b/gdb/testsuite/gdb.base/charsign.exp diff --git a/gdb/testsuite/gdb.base/charsign.exp b/gdb/testsuite/gdb.base/charsign.exp
new file mode 100644 new file mode 100644
index 0000000000..b5fa580490
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/charsign.exp +++ b/gdb/testsuite/gdb.base/charsign.exp
@@ -0,0 +1,63 @@ @@ -0,0 +1,63 @@
@ -138,6 +130,3 @@ index 0000000000..b5fa580490
+do_test {} +do_test {}
+do_test {-fsigned-char} +do_test {-fsigned-char}
+do_test {-funsigned-char} +do_test {-funsigned-char}
--
2.14.3

View File

@ -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-tdep.c (ppc_dwarf2_frame_init_reg): New function.
* (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as
default dwarf2_frame_set_init_reg function. 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 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 new file mode 100644
index 0000000000..698ff8a0b5
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c +++ b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.c
@@ -0,0 +1,21 @@ @@ -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 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 new file mode 100644
index 0000000000..c9ebd0e522
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp +++ b/gdb/testsuite/gdb.arch/ppc-clobbered-registers-O2.exp
@@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
@ -116,6 +108,3 @@ index 0000000000..c9ebd0e522
+ +
+gdb_test backtrace ".*operand0=<value optimized out>.*operand1=<value optimized out>.*" \ +gdb_test backtrace ".*operand0=<value optimized out>.*operand1=<value optimized out>.*" \
+ "Check value of call clobbered registers" + "Check value of call clobbered registers"
--
2.14.3

View File

@ -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: gdb-6.8.50.20090209/gdb/testsuite/gdb.base/annota1.exp:
frames-invalid can happen asynchronously. 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 diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c
index 7f482a34d3..1caadbae84 100644 index 7f482a34d3..1caadbae84 100644
@ -110,6 +106,3 @@ index bc409c26aa..e1e5e2e5d0 100644
set timeout $oldtimeout set timeout $oldtimeout
return 0 return 0
--
2.14.3

View File

@ -8,11 +8,6 @@ FileName: gdb-6.8-attach-signalled-detach-stopped.patch
;; [RHEL5,RHEL6] Fix attaching to stopped processes. ;; [RHEL5,RHEL6] Fix attaching to stopped processes.
;; [RHEL5] Workaround kernel for detaching SIGSTOPped processes (BZ 809382). ;; [RHEL5] Workaround kernel for detaching SIGSTOPped processes (BZ 809382).
;;=fedora ;;=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 diff --git a/gdb/infrun.c b/gdb/infrun.c
index b468d02fd6..16561dd119 100644 index b468d02fd6..16561dd119 100644
@ -194,6 +189,3 @@ index 6c8c8bf10e..c953a9c60d 100644
set test "$threadtype: attach2 to stopped, after setting file" set test "$threadtype: attach2 to stopped, after setting file"
gdb_test_multiple "attach $testpid" "$test" { gdb_test_multiple "attach $testpid" "$test" {
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-6.8-bz436037-reg-no-longer-active.patch
;; Fix register assignments with no GDB stack frames (BZ 436037). ;; Fix register assignments with no GDB stack frames (BZ 436037).
;;=push+jan: This fix is incorrect. ;;=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 diff --git a/gdb/valops.c b/gdb/valops.c
index 9b25980090..7aacd17d70 100644 index 9b25980090..7aacd17d70 100644
@ -41,6 +38,3 @@ index 9b25980090..7aacd17d70 100644
if (!frame) if (!frame)
error (_("Value being assigned to is no longer active.")); error (_("Value being assigned to is no longer active."));
--
2.14.3

View File

@ -9,10 +9,6 @@ FileName: gdb-6.8-bz442765-threaded-exec-test.patch
;;=fedoratest ;;=fedoratest
Test various forms of threads tracking across exec(2). 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 diff --git a/gdb/testsuite/gdb.threads/threaded-exec.c b/gdb/testsuite/gdb.threads/threaded-exec.c
index 522b24671d..7079317d3a 100644 index 522b24671d..7079317d3a 100644
@ -187,6 +183,3 @@ index 77c8a7dc85..8c43162b36 100644
gdb_test_multiple {} "Program exited" { gdb_test_multiple {} "Program exited" {
-re "\r\n\\\[Inferior .* exited normally\\\]\r\n$gdb_prompt $" { -re "\r\n\\\[Inferior .* exited normally\\\]\r\n$gdb_prompt $" {
--
2.14.3

View File

@ -9,18 +9,9 @@ FileName: gdb-6.8-bz466901-backtrace-full-prelinked.patch
;;=fedoratest ;;=fedoratest
Fix resolving of variables at locations lists in prelinked libs (BZ 466901). 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 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 new file mode 100644
index 0000000000..442c4d00a1
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-func.S
@@ -0,0 +1,328 @@ @@ -0,0 +1,328 @@
@ -354,7 +345,6 @@ index 0000000000..442c4d00a1
+ .section .note.GNU-stack,"",@progbits + .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 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 new file mode 100644
index 0000000000..57386999ce
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked-main.c
@@ -0,0 +1,26 @@ @@ -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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
new file mode 100644 new file mode 100644
index 0000000000..30d0473336
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-loclist-prelinked.exp
@@ -0,0 +1,102 @@ @@ -0,0 +1,102 @@
@ -492,6 +481,3 @@ index 0000000000..30d0473336
+ +
+# `abort' can get expressed as `*__GI_abort'. +# `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()" +gdb_test "bt full" "in \[^ \]*abort \\(.*in func \\(.*\r\n\[\t \]+i = -?\[0-9\].*in main \\(.*" "Backtrace after abort()"
--
2.14.3

View File

@ -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 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 should have been detached with SIGSTOP (as they are accidentally left running
on the debugger termination). 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 diff --git a/gdb/defs.h b/gdb/defs.h
index 0c156d56c3..9a7f4d52b0 100644 index 0c156d56c3..9a7f4d52b0 100644
@ -88,6 +82,3 @@ index 6f0abc98a2..58c0380d17 100644
/* Nonzero means that strings with character values >0x7F should be printed /* 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 as octal escapes. Zero means just print the value (e.g. it's an
international character, and the terminal or window can cope.) */ international character, and the terminal or window can cope.) */
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-6.8-sparc64-silence-memcpy-check.patch
;; Silence memcpy check which returns false positive (sparc64) ;; Silence memcpy check which returns false positive (sparc64)
;;=push: But it is just a GCC workaround, look up the existing GCC PR for it. ;;=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 diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 12fd5b9e64..e304ba8dbc 100644 index 12fd5b9e64..e304ba8dbc 100644
@ -23,6 +20,3 @@ index 12fd5b9e64..e304ba8dbc 100644
memcpy (buf, valbuf, len); memcpy (buf, valbuf, len);
regcache_cooked_write (regcache, SPARC_F0_REGNUM, buf); regcache_cooked_write (regcache, SPARC_F0_REGNUM, buf);
if (len > 4) if (len > 4)
--
2.14.3

View File

@ -11,16 +11,9 @@ FileName: gdb-6.8-watchpoint-conditionals-test.patch
For: For:
http://sourceware.org/ml/gdb-patches/2008-04/msg00379.html http://sourceware.org/ml/gdb-patches/2008-04/msg00379.html
http://sourceware.org/ml/gdb-cvs/2008-04/msg00104.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 diff --git a/gdb/testsuite/gdb.base/watchpoint-cond.c b/gdb/testsuite/gdb.base/watchpoint-cond.c
new file mode 100644 new file mode 100644
index 0000000000..d4ec581946
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-cond.c +++ b/gdb/testsuite/gdb.base/watchpoint-cond.c
@@ -0,0 +1,31 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/watchpoint-cond.exp b/gdb/testsuite/gdb.base/watchpoint-cond.exp
new file mode 100644 new file mode 100644
index 0000000000..31d5b602aa
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-cond.exp +++ b/gdb/testsuite/gdb.base/watchpoint-cond.exp
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
@ -98,6 +90,3 @@ index 0000000000..31d5b602aa
+ +
+gdb_test "watch i if i < 20" "atchpoint \[0-9\]+: i" +gdb_test "watch i if i < 20" "atchpoint \[0-9\]+: i"
+gdb_test "cont" "atchpoint \[0-9\]+: i.*Old value = 20.*New value = 19.*" +gdb_test "cont" "atchpoint \[0-9\]+: i.*Old value = 20.*New value = 19.*"
--
2.14.3

View File

@ -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 ;; 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 :) ;; rebuild to fix it, we need to be able to use gdb :)
;;=push ;;=push
---
gdb/gdb_bfd.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c diff --git a/gdb/gdb_bfd.c b/gdb/gdb_bfd.c
index 80ddd427af..3e4d3e4444 100644 index 80ddd427af..3e4d3e4444 100644
@ -72,6 +69,3 @@ index 80ddd427af..3e4d3e4444 100644
/* Handle compressed sections, or ordinary uncompressed sections in /* Handle compressed sections, or ordinary uncompressed sections in
the no-mmap case. */ the no-mmap case. */
--
2.14.3

View File

@ -10,16 +10,9 @@ FileName: gdb-archer-next-over-throw-cxx-exec.patch
Archer-upstreamed: Archer-upstreamed:
http://sourceware.org/ml/archer/2010-q2/msg00031.html 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 diff --git a/gdb/testsuite/gdb.cp/cxxexec.cc b/gdb/testsuite/gdb.cp/cxxexec.cc
new file mode 100644 new file mode 100644
index 0000000000..48fd63e9d3
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/cxxexec.cc +++ b/gdb/testsuite/gdb.cp/cxxexec.cc
@@ -0,0 +1,25 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/cxxexec.exp b/gdb/testsuite/gdb.cp/cxxexec.exp
new file mode 100644 new file mode 100644
index 0000000000..c85dd0129d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/cxxexec.exp +++ b/gdb/testsuite/gdb.cp/cxxexec.exp
@@ -0,0 +1,51 @@ @@ -0,0 +1,51 @@
@ -105,6 +97,3 @@ index 0000000000..c85dd0129d
+ +
+# `info inferiors' can show <null> on older GDBs. +# `info inferiors' can show <null> on older GDBs.
+gdb_test "info threads" "info threads" "program finished" +gdb_test "info threads" "info threads" "program finished"
--
2.14.3

View File

@ -6,11 +6,6 @@ Subject: gdb-archer-pie-addons-keep-disabled.patch
FileName: 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. ;;=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 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 2b5eebbbee..814802a0a1 100644 index 2b5eebbbee..814802a0a1 100644
@ -97,6 +92,3 @@ index 7adaef119d..2f061b47f7 100644
/* Data changed. */ /* Data changed. */
return 1; return 1;
} }
--
2.14.3

View File

@ -6,10 +6,6 @@ Subject: gdb-archer-pie-addons.patch
FileName: gdb-archer-pie-addons.patch FileName: gdb-archer-pie-addons.patch
;;=push+jan: May get obsoleted by Tom's unrelocated objfiles 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 diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 179238ce82..5597038357 100644 index 179238ce82..5597038357 100644
@ -69,6 +65,3 @@ index d4b4673f66..558d0bbd7a 100644
break; break;
case FIELD_LOC_KIND_PHYSNAME: case FIELD_LOC_KIND_PHYSNAME:
{ {
--
2.14.3

View File

@ -6,95 +6,6 @@ Subject: gdb-archer-vla-tests.patch
FileName: gdb-archer-vla-tests.patch FileName: gdb-archer-vla-tests.patch
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.ada/packed_array.exp b/gdb/testsuite/gdb.ada/packed_array.exp
index 3e614b788a..0ae87786db 100644 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 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 new file mode 100644
index 0000000000..3a983e6b22
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S +++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer-foo.S
@@ -0,0 +1,358 @@ @@ -0,0 +1,358 @@
@ -478,7 +388,6 @@ index 0000000000..3a983e6b22
+ .section .note.GNU-stack,"",@progbits + .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 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 new file mode 100644
index 0000000000..98ee43bbf2
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.c +++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.c
@@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
@ -529,7 +438,6 @@ index 0000000000..98ee43bbf2
+#endif +#endif
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp 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 new file mode 100644
index 0000000000..3e2e64a6ab
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp +++ b/gdb/testsuite/gdb.arch/x86_64-vla-pointer.exp
@@ -0,0 +1,65 @@ @@ -0,0 +1,65 @@
@ -600,7 +508,6 @@ index 0000000000..3e2e64a6ab
+gdb_test "ptype array" "type = char \\\[78\\\]" "second: ptype array" +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 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 new file mode 100644
index 0000000000..66f7a399bf
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S +++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef-foo.S
@@ -0,0 +1,455 @@ @@ -0,0 +1,455 @@
@ -1061,7 +968,6 @@ index 0000000000..66f7a399bf
+ .section .note.GNU-stack,"",@progbits + .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 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 new file mode 100644
index 0000000000..40099e9d39
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.c +++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.c
@@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
@ -1112,7 +1018,6 @@ index 0000000000..40099e9d39
+#endif +#endif
diff --git a/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp 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 new file mode 100644
index 0000000000..4ef6214629
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp +++ b/gdb/testsuite/gdb.arch/x86_64-vla-typedef.exp
@@ -0,0 +1,64 @@ @@ -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 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 new file mode 100644
index 0000000000..eeb7b8501c
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/internal-var-field-address.c +++ b/gdb/testsuite/gdb.base/internal-var-field-address.c
@@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
@ -1244,7 +1148,6 @@ index 0000000000..eeb7b8501c
+} staticstruct = { 1 }; +} staticstruct = { 1 };
diff --git a/gdb/testsuite/gdb.base/internal-var-field-address.exp b/gdb/testsuite/gdb.base/internal-var-field-address.exp 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 new file mode 100644
index 0000000000..33c9e94eee
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/internal-var-field-address.exp +++ b/gdb/testsuite/gdb.base/internal-var-field-address.exp
@@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
@ -1276,7 +1179,6 @@ index 0000000000..33c9e94eee
+gdb_test {p $varstruct.field} " = 1" +gdb_test {p $varstruct.field} " = 1"
diff --git a/gdb/testsuite/gdb.base/vla-frame.c b/gdb/testsuite/gdb.base/vla-frame.c diff --git a/gdb/testsuite/gdb.base/vla-frame.c b/gdb/testsuite/gdb.base/vla-frame.c
new file mode 100644 new file mode 100644
index 0000000000..5750f68b3d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-frame.c +++ b/gdb/testsuite/gdb.base/vla-frame.c
@@ -0,0 +1,31 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/vla-frame.exp b/gdb/testsuite/gdb.base/vla-frame.exp
new file mode 100644 new file mode 100644
index 0000000000..47736c7625
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-frame.exp +++ b/gdb/testsuite/gdb.base/vla-frame.exp
@@ -0,0 +1,38 @@ @@ -0,0 +1,38 @@
@ -1357,7 +1258,6 @@ index 0000000000..47736c7625
+gdb_test "bt full" "\r\n +s = \"X\\\\000\"\r\n.*" +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 diff --git a/gdb/testsuite/gdb.base/vla-overflow.c b/gdb/testsuite/gdb.base/vla-overflow.c
new file mode 100644 new file mode 100644
index 0000000000..c5d5ee0bb9
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-overflow.c +++ b/gdb/testsuite/gdb.base/vla-overflow.c
@@ -0,0 +1,30 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/vla-overflow.exp b/gdb/testsuite/gdb.base/vla-overflow.exp
new file mode 100644 new file mode 100644
index 0000000000..43a5825979
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/vla-overflow.exp +++ b/gdb/testsuite/gdb.base/vla-overflow.exp
@@ -0,0 +1,109 @@ @@ -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]" +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 diff --git a/gdb/testsuite/gdb.base/vla.c b/gdb/testsuite/gdb.base/vla.c
new file mode 100644 new file mode 100644
index 0000000000..e1f3ed1780
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/vla.c +++ b/gdb/testsuite/gdb.base/vla.c
@@ -0,0 +1,55 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/vla.exp b/gdb/testsuite/gdb.base/vla.exp
new file mode 100644 new file mode 100644
index 0000000000..71fe637272
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/vla.exp +++ b/gdb/testsuite/gdb.base/vla.exp
@@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
@ -1637,7 +1534,6 @@ index 0000000000..71fe637272
+gdb_test "p temp3" " = '3' <repeats 48 times>" "second: print temp3" +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 diff --git a/gdb/testsuite/gdb.cp/gdb9593.cc b/gdb/testsuite/gdb.cp/gdb9593.cc
new file mode 100644 new file mode 100644
index 0000000000..783c9622a8
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb9593.cc +++ b/gdb/testsuite/gdb.cp/gdb9593.cc
@@ -0,0 +1,180 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/gdb9593.exp b/gdb/testsuite/gdb.cp/gdb9593.exp
new file mode 100644 new file mode 100644
index 0000000000..ef40424402
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/gdb9593.exp +++ b/gdb/testsuite/gdb.cp/gdb9593.exp
@@ -0,0 +1,182 @@ @@ -0,0 +1,182 @@
@ -2011,7 +1906,6 @@ index 0000000000..ef40424402
+ "advance-over-throw" + "advance-over-throw"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S
new file mode 100644 new file mode 100644
index 0000000000..aac3baad8a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.S
@@ -0,0 +1,246 @@ @@ -0,0 +1,246 @@
@ -2263,7 +2157,6 @@ index 0000000000..aac3baad8a
+ .string "unsigned int" + .string "unsigned int"
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp
new file mode 100644 new file mode 100644
index 0000000000..39e69b470f
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-bound-loclist.exp
@@ -0,0 +1,66 @@ @@ -0,0 +1,66 @@
@ -2335,7 +2228,6 @@ index 0000000000..39e69b470f
+gdb_test "ptype reg_string" {type = char \[-?[0-9]+\]} +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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-stripped.c b/gdb/testsuite/gdb.dwarf2/dw2-stripped.c
new file mode 100644 new file mode 100644
index 0000000000..1f02d90eeb
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-stripped.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-stripped.c
@@ -0,0 +1,42 @@ @@ -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 diff --git a/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp b/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp
new file mode 100644 new file mode 100644
index 0000000000..9336e03157
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-stripped.exp
@@ -0,0 +1,79 @@ @@ -0,0 +1,79 @@
@ -2468,7 +2359,6 @@ index 0000000000..9336e03157
+ "step" + "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 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 new file mode 100644
index 0000000000..5fcdd84986
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.S
@@ -0,0 +1,83 @@ @@ -0,0 +1,83 @@
@ -2557,7 +2447,6 @@ index 0000000000..5fcdd84986
+ .byte 0x0 /* Terminator */ + .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 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 new file mode 100644
index 0000000000..bc35209fe5
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-struct-member-data-location.exp
@@ -0,0 +1,37 @@ @@ -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\]*}" +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 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 new file mode 100644
index 0000000000..9dbbf3c3e1
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.S
@@ -0,0 +1,121 @@ @@ -0,0 +1,121 @@
@ -2727,7 +2615,6 @@ index 0000000000..9dbbf3c3e1
+ .byte 0x0 /* Terminator */ + .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 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 new file mode 100644
index 0000000000..cec673cd39
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-subrange-no-type.exp
@@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
@ -2772,7 +2659,6 @@ index 0000000000..cec673cd39
+gdb_test "p notype_string" " = 'x' <repeats 129 times>" +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 diff --git a/gdb/testsuite/gdb.fortran/dwarf-stride.exp b/gdb/testsuite/gdb.fortran/dwarf-stride.exp
new file mode 100644 new file mode 100644
index 0000000000..d7b8bea8db
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dwarf-stride.exp +++ b/gdb/testsuite/gdb.fortran/dwarf-stride.exp
@@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
@ -2820,7 +2706,6 @@ index 0000000000..d7b8bea8db
+gdb_test "p c40pt(2)" " = '1-hello.*" +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 diff --git a/gdb/testsuite/gdb.fortran/dwarf-stride.f90 b/gdb/testsuite/gdb.fortran/dwarf-stride.f90
new file mode 100644 new file mode 100644
index 0000000000..e492b3af42
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dwarf-stride.f90 +++ b/gdb/testsuite/gdb.fortran/dwarf-stride.f90
@@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
@ -2866,7 +2751,6 @@ index 0000000000..e492b3af42
+end program repro +end program repro
diff --git a/gdb/testsuite/gdb.fortran/dynamic.exp b/gdb/testsuite/gdb.fortran/dynamic.exp diff --git a/gdb/testsuite/gdb.fortran/dynamic.exp b/gdb/testsuite/gdb.fortran/dynamic.exp
new file mode 100644 new file mode 100644
index 0000000000..37d435f799
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic.exp +++ b/gdb/testsuite/gdb.fortran/dynamic.exp
@@ -0,0 +1,154 @@ @@ -0,0 +1,154 @@
@ -3026,7 +2910,6 @@ index 0000000000..37d435f799
+gdb_test "p vart(2,9)" "\\$\[0-9\]* = 10" +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 diff --git a/gdb/testsuite/gdb.fortran/dynamic.f90 b/gdb/testsuite/gdb.fortran/dynamic.f90
new file mode 100644 new file mode 100644
index 0000000000..0f43564378
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/dynamic.f90 +++ b/gdb/testsuite/gdb.fortran/dynamic.f90
@@ -0,0 +1,98 @@ @@ -0,0 +1,98 @@
@ -3130,7 +3013,6 @@ index 0000000000..0f43564378
+end +end
diff --git a/gdb/testsuite/gdb.fortran/string.exp b/gdb/testsuite/gdb.fortran/string.exp diff --git a/gdb/testsuite/gdb.fortran/string.exp b/gdb/testsuite/gdb.fortran/string.exp
new file mode 100644 new file mode 100644
index 0000000000..1b7c0dbf73
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/string.exp +++ b/gdb/testsuite/gdb.fortran/string.exp
@@ -0,0 +1,59 @@ @@ -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" +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 diff --git a/gdb/testsuite/gdb.fortran/string.f90 b/gdb/testsuite/gdb.fortran/string.f90
new file mode 100644 new file mode 100644
index 0000000000..226dc5d0ff
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/string.f90 +++ b/gdb/testsuite/gdb.fortran/string.f90
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
@ -3238,7 +3119,6 @@ index 0000000000..226dc5d0ff
+end +end
diff --git a/gdb/testsuite/gdb.fortran/subrange.exp b/gdb/testsuite/gdb.fortran/subrange.exp diff --git a/gdb/testsuite/gdb.fortran/subrange.exp b/gdb/testsuite/gdb.fortran/subrange.exp
new file mode 100644 new file mode 100644
index 0000000000..c121ab9751
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/subrange.exp +++ b/gdb/testsuite/gdb.fortran/subrange.exp
@@ -0,0 +1,72 @@ @@ -0,0 +1,72 @@
@ -3316,7 +3196,6 @@ index 0000000000..c121ab9751
+gdb_test {p $a (3, 2:2)} { = \(23\)} +gdb_test {p $a (3, 2:2)} { = \(23\)}
diff --git a/gdb/testsuite/gdb.fortran/subrange.f90 b/gdb/testsuite/gdb.fortran/subrange.f90 diff --git a/gdb/testsuite/gdb.fortran/subrange.f90 b/gdb/testsuite/gdb.fortran/subrange.f90
new file mode 100644 new file mode 100644
index 0000000000..4747ea9746
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/subrange.f90 +++ b/gdb/testsuite/gdb.fortran/subrange.f90
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -3350,7 +3229,6 @@ index 0000000000..4747ea9746
+end +end
diff --git a/gdb/testsuite/gdb.mi/mi2-var-stale-type.c b/gdb/testsuite/gdb.mi/mi2-var-stale-type.c 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 new file mode 100644
index 0000000000..ebced3c042
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.mi/mi2-var-stale-type.c +++ b/gdb/testsuite/gdb.mi/mi2-var-stale-type.c
@@ -0,0 +1,26 @@ @@ -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 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 new file mode 100644
index 0000000000..88326c0390
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.mi/mi2-var-stale-type.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-stale-type.exp
@@ -0,0 +1,57 @@ @@ -0,0 +1,57 @@
@ -3445,7 +3322,6 @@ index 0000000000..88326c0390
+mi_gdb_test "-var-update *" "\\^done,changelist=.*" "-var-update *" +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 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 new file mode 100644
index 0000000000..729f457c82
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.opt/array-from-register-func.c +++ b/gdb/testsuite/gdb.opt/array-from-register-func.c
@@ -0,0 +1,22 @@ @@ -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 diff --git a/gdb/testsuite/gdb.opt/array-from-register.c b/gdb/testsuite/gdb.opt/array-from-register.c
new file mode 100644 new file mode 100644
index 0000000000..3090e7e631
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.opt/array-from-register.c +++ b/gdb/testsuite/gdb.opt/array-from-register.c
@@ -0,0 +1,28 @@ @@ -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 diff --git a/gdb/testsuite/gdb.opt/array-from-register.exp b/gdb/testsuite/gdb.opt/array-from-register.exp
new file mode 100644 new file mode 100644
index 0000000000..f2de718bc3
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.opt/array-from-register.exp +++ b/gdb/testsuite/gdb.opt/array-from-register.exp
@@ -0,0 +1,33 @@ @@ -0,0 +1,33 @@
@ -3546,7 +3420,6 @@ index 0000000000..f2de718bc3
+gdb_test "p arr\[0\]" "\\$\[0-9\]+ = 42" +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 diff --git a/gdb/testsuite/gdb.opt/fortran-string.exp b/gdb/testsuite/gdb.opt/fortran-string.exp
new file mode 100644 new file mode 100644
index 0000000000..90a2bdf212
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.opt/fortran-string.exp +++ b/gdb/testsuite/gdb.opt/fortran-string.exp
@@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
@ -3591,7 +3464,6 @@ index 0000000000..90a2bdf212
+gdb_test "p s" "\\$\[0-9\]* = 'foo'" +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 diff --git a/gdb/testsuite/gdb.opt/fortran-string.f90 b/gdb/testsuite/gdb.opt/fortran-string.f90
new file mode 100644 new file mode 100644
index 0000000000..e48d520085
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.opt/fortran-string.f90 +++ b/gdb/testsuite/gdb.opt/fortran-string.f90
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -3625,7 +3497,6 @@ index 0000000000..e48d520085
+ end + end
diff --git a/gdb/testsuite/gdb.pascal/arrays.exp b/gdb/testsuite/gdb.pascal/arrays.exp diff --git a/gdb/testsuite/gdb.pascal/arrays.exp b/gdb/testsuite/gdb.pascal/arrays.exp
new file mode 100644 new file mode 100644
index 0000000000..22acdb86d8
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pascal/arrays.exp +++ b/gdb/testsuite/gdb.pascal/arrays.exp
@@ -0,0 +1,104 @@ @@ -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 diff --git a/gdb/testsuite/gdb.pascal/arrays.pas b/gdb/testsuite/gdb.pascal/arrays.pas
new file mode 100644 new file mode 100644
index 0000000000..295602d68c
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.pascal/arrays.pas +++ b/gdb/testsuite/gdb.pascal/arrays.pas
@@ -0,0 +1,82 @@ @@ -0,0 +1,82 @@
@ -3872,6 +3742,3 @@ index 03d1b1bc06..9f9e143dff 100644
} }
set pascal_init_done 1 set pascal_init_done 1
} }
--
2.14.3

View File

@ -15,27 +15,6 @@ GIT snapshot:
commit 718a1618b2f691a7f407213bb50f100ac59f91c3 commit 718a1618b2f691a7f407213bb50f100ac59f91c3
tromey/python 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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 3142ad6af1..28d8664236 100644 index 3142ad6af1..28d8664236 100644
@ -300,7 +279,6 @@ index b079e79c93..b150af4e70 100644
"), stream); "), stream);
diff --git a/gdb/python/lib/gdb/command/ignore_errors.py b/gdb/python/lib/gdb/command/ignore_errors.py diff --git a/gdb/python/lib/gdb/command/ignore_errors.py b/gdb/python/lib/gdb/command/ignore_errors.py
new file mode 100644 new file mode 100644
index 0000000000..6fa48ff081
--- /dev/null --- /dev/null
+++ b/gdb/python/lib/gdb/command/ignore_errors.py +++ b/gdb/python/lib/gdb/command/ignore_errors.py
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
@ -343,7 +321,6 @@ index 0000000000..6fa48ff081
+IgnoreErrorsCommand () +IgnoreErrorsCommand ()
diff --git a/gdb/python/lib/gdb/command/pahole.py b/gdb/python/lib/gdb/command/pahole.py diff --git a/gdb/python/lib/gdb/command/pahole.py b/gdb/python/lib/gdb/command/pahole.py
new file mode 100644 new file mode 100644
index 0000000000..e08eaf5ca8
--- /dev/null --- /dev/null
+++ b/gdb/python/lib/gdb/command/pahole.py +++ b/gdb/python/lib/gdb/command/pahole.py
@@ -0,0 +1,81 @@ @@ -0,0 +1,81 @@
@ -430,7 +407,6 @@ index 0000000000..e08eaf5ca8
+Pahole() +Pahole()
diff --git a/gdb/python/lib/gdb/function/in_scope.py b/gdb/python/lib/gdb/function/in_scope.py diff --git a/gdb/python/lib/gdb/function/in_scope.py b/gdb/python/lib/gdb/function/in_scope.py
new file mode 100644 new file mode 100644
index 0000000000..8742680614
--- /dev/null --- /dev/null
+++ b/gdb/python/lib/gdb/function/in_scope.py +++ b/gdb/python/lib/gdb/function/in_scope.py
@@ -0,0 +1,47 @@ @@ -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_default_value_is_changeable_p (const struct varobj *var);
extern bool varobj_value_is_changeable_p (const struct varobj *var); extern bool varobj_value_is_changeable_p (const struct varobj *var);
--
2.14.3

View File

@ -43,18 +43,6 @@ gdb/gdbserver/
* linux-low.c (linux_traceme): New function. * linux-low.c (linux_traceme): New function.
(linux_create_inferior, linux_tracefork_child): Call it instead of (linux_create_inferior, linux_tracefork_child): Call it instead of
direct ptrace. 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 diff --git a/gdb/config.in b/gdb/config.in
index edd7028f76..4de3e842d1 100644 index edd7028f76..4de3e842d1 100644
@ -393,6 +381,3 @@ index 1f960ed132..84912f909c 100644
extern void linux_check_ptrace_features (void); extern void linux_check_ptrace_features (void);
extern void linux_enable_event_reporting (pid_t pid, int attached); extern void linux_enable_event_reporting (pid_t pid, int attached);
extern void linux_disable_event_reporting (pid_t pid); extern void linux_disable_event_reporting (pid_t pid);
--
2.14.3

View File

@ -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. 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 diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index e887849c36..a8e4f49eb5 100644 index e887849c36..a8e4f49eb5 100644
@ -45,6 +42,3 @@ index e887849c36..a8e4f49eb5 100644
} }
return success; return success;
--
2.14.3

View File

@ -78,13 +78,6 @@ gdb/testsuite/ChangeLog
* gdb.base/attach-kills.c: New. * gdb.base/attach-kills.c: New.
* gdb.base/attach-kills.exp: 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 diff --git a/gdb/main.c b/gdb/main.c
index 17d35f4a8a..b079e79c93 100644 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 diff --git a/gdb/testsuite/gdb.base/attach-kills.c b/gdb/testsuite/gdb.base/attach-kills.c
new file mode 100644 new file mode 100644
index 0000000000..2398f00442
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-kills.c +++ b/gdb/testsuite/gdb.base/attach-kills.c
@@ -0,0 +1,25 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/attach-kills.exp b/gdb/testsuite/gdb.base/attach-kills.exp
new file mode 100644 new file mode 100644
index 0000000000..9a93cb7584
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/attach-kills.exp +++ b/gdb/testsuite/gdb.base/attach-kills.exp
@@ -0,0 +1,49 @@ @@ -0,0 +1,49 @@
@ -188,6 +179,3 @@ index 0000000000..9a93cb7584
+} +}
+ +
+kill_wait_spawned_process $test_spawn_id +kill_wait_spawned_process $test_spawn_id
--
2.14.3

View File

@ -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 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 threads need to get synchronized at some point. This is a more general
debugging problem of GOMP outside of the scope of this Bug. 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 diff --git a/gdb/infrun.c b/gdb/infrun.c
index 1d0f731954..dcf022bd50 100644 index 1d0f731954..dcf022bd50 100644
@ -67,7 +60,6 @@ index 1d0f731954..dcf022bd50 100644
/* If we are in a function call trampoline (a stub between the /* 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 diff --git a/gdb/testsuite/gdb.fortran/omp-step.exp b/gdb/testsuite/gdb.fortran/omp-step.exp
new file mode 100644 new file mode 100644
index 0000000000..66440a7507
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/omp-step.exp +++ b/gdb/testsuite/gdb.fortran/omp-step.exp
@@ -0,0 +1,31 @@ @@ -0,0 +1,31 @@
@ -104,7 +96,6 @@ index 0000000000..66440a7507
+gdb_continue_to_breakpoint "success" ".*success.*" +gdb_continue_to_breakpoint "success" ".*success.*"
diff --git a/gdb/testsuite/gdb.fortran/omp-step.f90 b/gdb/testsuite/gdb.fortran/omp-step.f90 diff --git a/gdb/testsuite/gdb.fortran/omp-step.f90 b/gdb/testsuite/gdb.fortran/omp-step.f90
new file mode 100644 new file mode 100644
index 0000000000..a0cfb37014
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/omp-step.f90 +++ b/gdb/testsuite/gdb.fortran/omp-step.f90
@@ -0,0 +1,32 @@ @@ -0,0 +1,32 @@
@ -140,6 +131,3 @@ index 0000000000..a0cfb37014
+ end do + end do
+ print *, "success" + print *, "success"
+ end + end
--
2.14.3

View File

@ -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+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). ;; Fix i386 rwatch+awatch before run (BZ 688788, on top of BZ 541866).
;;=push+jan: It should be fixed properly instead. ;;=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 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 814802a0a1..5a99de75e1 100644 index 814802a0a1..5a99de75e1 100644
@ -44,7 +33,6 @@ index 814802a0a1..5a99de75e1 100644
target_can_use_hardware_watchpoint (bp_hardware_breakpoint, target_can_use_hardware_watchpoint (bp_hardware_breakpoint,
diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h diff --git a/gdb/config/i386/nm-linux.h b/gdb/config/i386/nm-linux.h
new file mode 100644 new file mode 100644
index 0000000000..38e94baab1
--- /dev/null --- /dev/null
+++ b/gdb/config/i386/nm-linux.h +++ b/gdb/config/i386/nm-linux.h
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -78,7 +66,6 @@ index 0000000000..38e94baab1
+#endif /* NM_LINUX64_H */ +#endif /* NM_LINUX64_H */
diff --git a/gdb/config/i386/nm-linux64.h b/gdb/config/i386/nm-linux64.h diff --git a/gdb/config/i386/nm-linux64.h b/gdb/config/i386/nm-linux64.h
new file mode 100644 new file mode 100644
index 0000000000..212daba477
--- /dev/null --- /dev/null
+++ b/gdb/config/i386/nm-linux64.h +++ b/gdb/config/i386/nm-linux64.h
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -148,7 +135,6 @@ index 4781fbc59c..e3a2882fe5 100644
memory region, or zero if not supported. */ 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 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 new file mode 100644
index 0000000000..4ce9997e4a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp +++ b/gdb/testsuite/gdb.base/watchpoint-hw-before-run.exp
@@ -0,0 +1,40 @@ @@ -0,0 +1,40 @@
@ -192,6 +178,3 @@ index 0000000000..4ce9997e4a
+gdb_test "" "main .* at .*" "start" +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.*" +gdb_test "continue" "Continuing.\r\n\r\nHardware read watchpoint \[0-9\]+: watchee\r\n\r\nValue = 0\r\n.*"
--
2.14.3

View File

@ -51,9 +51,6 @@ gdb/
Tom Tromey <tromey@redhat.com> Tom Tromey <tromey@redhat.com>
* utils.c (nomem): Change internal_error to error. * 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 diff --git a/gdb/utils.c b/gdb/utils.c
index c531748fe4..0066bfcc4b 100644 index c531748fe4..0066bfcc4b 100644
@ -75,6 +72,3 @@ index c531748fe4..0066bfcc4b 100644
} }
} }
--
2.14.3

View File

@ -7,18 +7,9 @@ FileName: gdb-bz601887-dwarf4-rh-test.patch
;; Backport DWARF-4 support (BZ 601887, Tom Tromey). ;; Backport DWARF-4 support (BZ 601887, Tom Tromey).
;;=fedoratest ;;=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 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 new file mode 100644
index 0000000000..48b1bbf3e1
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S +++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.S
@@ -0,0 +1,167 @@ @@ -0,0 +1,167 @@
@ -191,7 +182,6 @@ index 0000000000..48b1bbf3e1
+ .section .note.GNU-stack,"",@progbits + .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 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 new file mode 100644
index 0000000000..46fcd120f4
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c +++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.c
@@ -0,0 +1,22 @@ @@ -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 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 new file mode 100644
index 0000000000..a728f9c5ed
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp +++ b/gdb/testsuite/gdb.dwarf2/rh-dwarf4-x86_64.exp
@@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
@ -265,6 +254,3 @@ index 0000000000..a728f9c5ed
+clean_restart $executable +clean_restart $executable
+ +
+gdb_test "ptype main" {type = int \(void\)} +gdb_test "ptype main" {type = int \(void\)}
--
2.14.3

View File

@ -11,14 +11,9 @@ FileName: gdb-bz634108-solib_address.patch
Fix gdb.solib_address (fix by Phil Muldoon). Fix gdb.solib_address (fix by Phil Muldoon).
s/solib_address/solib_name/ during upstreaming. 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 diff --git a/gdb/testsuite/gdb.python/rh634108-solib_address.exp b/gdb/testsuite/gdb.python/rh634108-solib_address.exp
new file mode 100644 new file mode 100644
index 0000000000..c0451cf09e
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/rh634108-solib_address.exp +++ b/gdb/testsuite/gdb.python/rh634108-solib_address.exp
@@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
@ -46,6 +41,3 @@ index 0000000000..c0451cf09e
+if { [skip_python_tests] } { continue } +if { [skip_python_tests] } { continue }
+ +
+gdb_test "python print gdb.solib_name(-1)" "None" "gdb.solib_name exists" +gdb_test "python print gdb.solib_name(-1)" "None" "gdb.solib_name exists"
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-ccache-workaround.patch
;; Workaround ccache making lineno non-zero for command-line definitions. ;; Workaround ccache making lineno non-zero for command-line definitions.
;;=fedoratest: ccache is rarely used and it is even fixed now. ;;=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 diff --git a/gdb/testsuite/gdb.base/macscp.exp b/gdb/testsuite/gdb.base/macscp.exp
index 27dc991ce9..a3b9458b44 100644 index 27dc991ce9..a3b9458b44 100644
@ -30,6 +27,3 @@ index 27dc991ce9..a3b9458b44 100644
# Generate the intermediate object file. This is required by Darwin to # Generate the intermediate object file. This is required by Darwin to
# have access to the .debug_macinfo section. # have access to the .debug_macinfo section.
if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \ if {[gdb_compile "${srcdir}/${subdir}/macscp1.c" "${objfile}" \
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-container-rh-pkg.patch
;; Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114). ;; Add messages suggesting more recent RHEL gdbserver (RH BZ 1321114).
;;=fedora ;;=fedora
---
gdb/remote.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gdb/remote.c b/gdb/remote.c diff --git a/gdb/remote.c b/gdb/remote.c
index 86777f1e5e..fc003c0736 100644 index 86777f1e5e..fc003c0736 100644
@ -34,6 +31,3 @@ index 86777f1e5e..fc003c0736 100644
inf = find_inferior_pid (pid); inf = find_inferior_pid (pid);
if (inf == NULL) if (inf == NULL)
--
2.14.3

View File

@ -17,9 +17,6 @@ Subject: [patch] Fix GNU/Linux core open: Can't read pathname for load map: Inp
commit 7d760051ffb8a23cdc51342d4e6243fbc462f73f commit 7d760051ffb8a23cdc51342d4e6243fbc462f73f
Author: Ulrich Weigand <uweigand@de.ibm.com> Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Sep 25 11:52:50 2013 +0000 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 diff --git a/gdb/testsuite/gdb.base/solib-symbol.exp b/gdb/testsuite/gdb.base/solib-symbol.exp
index 20c1d47a03..893efe0b2d 100644 index 20c1d47a03..893efe0b2d 100644
@ -62,6 +59,3 @@ index 20c1d47a03..893efe0b2d 100644
+gdb_run_cmd +gdb_run_cmd
+gdb_test "" "warning: Could not load shared library symbols for \[0-9\]+ libraries,.*\r\nBreakpoint \[0-9\]+, main .*" \ +gdb_test "" "warning: Could not load shared library symbols for \[0-9\]+ libraries,.*\r\nBreakpoint \[0-9\]+, main .*" \
+ "warning for missing libraries" + "warning for missing libraries"
--
2.14.3

View File

@ -9,15 +9,6 @@ FileName: gdb-dts-rhel6-python-compat.patch
;;=fedora ;;=fedora
https://bugzilla.redhat.com/show_bug.cgi?id=1020004 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 diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index 753e0b69a3..5c7c0b4c2e 100644 index 753e0b69a3..5c7c0b4c2e 100644
@ -42,7 +33,6 @@ index 753e0b69a3..5c7c0b4c2e 100644
gdb/command/prompt.py \ gdb/command/prompt.py \
diff --git a/gdb/python/lib/gdb/FrameWrapper.py b/gdb/python/lib/gdb/FrameWrapper.py diff --git a/gdb/python/lib/gdb/FrameWrapper.py b/gdb/python/lib/gdb/FrameWrapper.py
new file mode 100644 new file mode 100644
index 0000000000..34ba4a2a12
--- /dev/null --- /dev/null
+++ b/gdb/python/lib/gdb/FrameWrapper.py +++ b/gdb/python/lib/gdb/FrameWrapper.py
@@ -0,0 +1,122 @@ @@ -0,0 +1,122 @@
@ -170,7 +160,6 @@ index 0000000000..34ba4a2a12
+ return getattr (self.frame, name) + return getattr (self.frame, name)
diff --git a/gdb/python/lib/gdb/backtrace.py b/gdb/python/lib/gdb/backtrace.py diff --git a/gdb/python/lib/gdb/backtrace.py b/gdb/python/lib/gdb/backtrace.py
new file mode 100644 new file mode 100644
index 0000000000..06c893f239
--- /dev/null --- /dev/null
+++ b/gdb/python/lib/gdb/backtrace.py +++ b/gdb/python/lib/gdb/backtrace.py
@@ -0,0 +1,42 @@ @@ -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 diff --git a/gdb/python/lib/gdb/command/backtrace.py b/gdb/python/lib/gdb/command/backtrace.py
new file mode 100644 new file mode 100644
index 0000000000..eeea9093e8
--- /dev/null --- /dev/null
+++ b/gdb/python/lib/gdb/command/backtrace.py +++ b/gdb/python/lib/gdb/command/backtrace.py
@@ -0,0 +1,106 @@ @@ -0,0 +1,106 @@
@ -328,6 +316,3 @@ index 0000000000..eeea9093e8
+ pair[1].describe (sys.stdout, full) + pair[1].describe (sys.stdout, full)
+ +
+FilteringBacktrace() +FilteringBacktrace()
--
2.14.3

View File

@ -10,10 +10,6 @@ FileName: gdb-fedora-libncursesw.patch
Fedora: Force libncursesw over libncurses to match the includes. Fedora: Force libncursesw over libncurses to match the includes.
https://bugzilla.redhat.com/show_bug.cgi?id=1270534 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 diff --git a/gdb/configure b/gdb/configure
index 6fb5b5b509..db849572b5 100755 index 6fb5b5b509..db849572b5 100755
@ -77,6 +73,3 @@ index d891c7bccc..4412e25450 100644
if test "$ac_cv_search_tgetent" = no; then if test "$ac_cv_search_tgetent" = no; then
CONFIG_OBS="$CONFIG_OBS stub-termcap.o" CONFIG_OBS="$CONFIG_OBS stub-termcap.o"
--
2.14.3

View File

@ -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: 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: watchpoint after the second fork
+FAIL: gdb.threads/watchpoint-fork.exp: child: singlethreaded: finish +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 diff --git a/gdb/infrun.c b/gdb/infrun.c
index dcf022bd50..b468d02fd6 100644 index dcf022bd50..b468d02fd6 100644
@ -40,6 +37,3 @@ index dcf022bd50..b468d02fd6 100644
/* This pending follow fork event is now handled, one way /* This pending follow fork event is now handled, one way
or another. The previous selected thread may be gone or another. The previous selected thread may be gone
from the lists by now, but if it is still around, need from the lists by now, but if it is still around, need
--
2.14.3

View File

@ -29,16 +29,9 @@ No regressions on {x86_64,x86_64-m32,i686}-fedora22pre-linux-gnu.
Thanks, Thanks,
Jan 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 diff --git a/gdb/testsuite/gdb.fortran/fortran-frame-string.exp b/gdb/testsuite/gdb.fortran/fortran-frame-string.exp
new file mode 100644 new file mode 100644
index 0000000000..7114afd440
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/fortran-frame-string.exp +++ b/gdb/testsuite/gdb.fortran/fortran-frame-string.exp
@@ -0,0 +1,36 @@ @@ -0,0 +1,36 @@
@ -80,7 +73,6 @@ index 0000000000..7114afd440
+gdb_test "frame" { \(s='foo', .*} +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 diff --git a/gdb/testsuite/gdb.fortran/fortran-frame-string.f90 b/gdb/testsuite/gdb.fortran/fortran-frame-string.f90
new file mode 100644 new file mode 100644
index 0000000000..3d1576fb1f
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.fortran/fortran-frame-string.f90 +++ b/gdb/testsuite/gdb.fortran/fortran-frame-string.f90
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -112,6 +104,3 @@ index 0000000000..3d1576fb1f
+ program main + program main
+ call f ('foo') + call f ('foo')
+ end + end
--
2.14.3

View File

@ -39,11 +39,6 @@ From: Tom Tromey <tromey@redhat.com>
Date: Fri, 9 Jul 2010 11:17:54 -0600 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
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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index e77d6a5c03..3142ad6af1 100644 index e77d6a5c03..3142ad6af1 100644
@ -174,6 +169,3 @@ index 2f2cbd3dea..7b99ae1551 100644
@include gpl.texi @include gpl.texi
@node GNU Free Documentation License @node GNU Free Documentation License
--
2.14.3

View File

@ -7,11 +7,6 @@ FileName: gdb-glibc-strstr-workaround.patch
;; Workaround PR libc/14166 for inferior calls of strstr. ;; Workaround PR libc/14166 for inferior calls of strstr.
;;=fedora: Compatibility with RHELs (unchecked which ones). ;;=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 diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index c8db955f2f..6ebe00f542 100644 index c8db955f2f..6ebe00f542 100644
@ -46,7 +41,6 @@ index c8db955f2f..6ebe00f542 100644
/* Fortran does not have mangling standard and the mangling does differ /* 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 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 new file mode 100644
index 0000000000..5469cd7354
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp +++ b/gdb/testsuite/gdb.base/gnu-ifunc-strstr-workaround.exp
@@ -0,0 +1,108 @@ @@ -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("abc","b")} { = 0x[0-9a-f]+ "bc"}
+gdb_test {print strstr("def","e")} { = 0x[0-9a-f]+ "ef"} +gdb_test {print strstr("def","e")} { = 0x[0-9a-f]+ "ef"}
--
2.14.3

View File

@ -40,9 +40,6 @@ gdb/
2014-02-24 Jan Kratochvil <jan.kratochvil@redhat.com> 2014-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (process_die): Change gdb_assert to complaint. * 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 diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index fbaa0af64f..2c972d5e74 100644 index fbaa0af64f..2c972d5e74 100644
@ -63,6 +60,3 @@ index fbaa0af64f..2c972d5e74 100644
process_die_scope scope (die, cu); process_die_scope scope (die, cu);
switch (die->tag) switch (die->tag)
--
2.14.3

View File

@ -7,10 +7,6 @@ FileName: gdb-jit-reader-multilib.patch
;; Fix jit-reader.h for multi-lib. ;; Fix jit-reader.h for multi-lib.
;;=push+jan ;;=push+jan
---
gdb/configure | 8 +++++---
gdb/configure.ac | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/gdb/configure b/gdb/configure diff --git a/gdb/configure b/gdb/configure
index 904cc453ad..6fb5b5b509 100755 index 904cc453ad..6fb5b5b509 100755
@ -52,6 +48,3 @@ index 1557760ed8..d891c7bccc 100644
elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then elif test "x${ac_cv_sizeof_unsigned___int128}" = "x16"; then
TARGET_PTR="unsigned __int128" TARGET_PTR="unsigned __int128"
else else
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-libexec-add-index.patch
;; Fix gdb-headless /usr/bin/ executables (BZ 1390251). ;; Fix gdb-headless /usr/bin/ executables (BZ 1390251).
;;=fedora ;;=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 diff --git a/gdb/contrib/gdb-add-index.sh b/gdb/contrib/gdb-add-index.sh
index 71146966ab..500b2f62d5 100755 index 71146966ab..500b2f62d5 100755
@ -27,6 +24,3 @@ index 71146966ab..500b2f62d5 100755
myname="${0##*/}" myname="${0##*/}"
if test $# != 1; then if test $# != 1; then
--
2.14.3

View File

@ -15,18 +15,9 @@ and the upstream fix:
http://sourceware.org/ml/gdb-patches/2006-11/msg00253.html http://sourceware.org/ml/gdb-patches/2006-11/msg00253.html
[rfc] Do not make up line information [rfc] Do not make up line information
http://sourceware.org/ml/gdb-cvs/2006-11/msg00127.html 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 diff --git a/gdb/testsuite/gdb.base/lineno-makeup-func.c b/gdb/testsuite/gdb.base/lineno-makeup-func.c
new file mode 100644 new file mode 100644
index 0000000000..1a0220ea52
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/lineno-makeup-func.c +++ b/gdb/testsuite/gdb.base/lineno-makeup-func.c
@@ -0,0 +1,21 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/lineno-makeup.c b/gdb/testsuite/gdb.base/lineno-makeup.c
new file mode 100644 new file mode 100644
index 0000000000..5d4be90999
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/lineno-makeup.c +++ b/gdb/testsuite/gdb.base/lineno-makeup.c
@@ -0,0 +1,35 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/lineno-makeup.exp b/gdb/testsuite/gdb.base/lineno-makeup.exp
new file mode 100644 new file mode 100644
index 0000000000..9e11d78bf9
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/lineno-makeup.exp +++ b/gdb/testsuite/gdb.base/lineno-makeup.exp
@@ -0,0 +1,78 @@ @@ -0,0 +1,78 @@
@ -176,6 +165,3 @@ index 0000000000..9e11d78bf9
+ fail $test + fail $test
+ } + }
+} +}
--
2.14.3

View File

@ -7,12 +7,6 @@ FileName: gdb-linux_perf-bundle.patch
;; [dts+el7] [x86*] Bundle linux_perf.h for libipt (RH BZ 1256513). ;; [dts+el7] [x86*] Bundle linux_perf.h for libipt (RH BZ 1256513).
;;=fedora ;;=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 diff --git a/gdb/configure b/gdb/configure
index db849572b5..7720c00f4b 100755 index db849572b5..7720c00f4b 100755
@ -246,6 +240,3 @@ index 31a8d9e67b..72faf23c5f 100644
struct target_ops; struct target_ops;
#if HAVE_LINUX_PERF_EVENT_H #if HAVE_LINUX_PERF_EVENT_H
--
2.14.3

View File

@ -12,9 +12,6 @@ https://bugzilla.redhat.com/show_bug.cgi?id=590623
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11593 http://sources.redhat.com/bugzilla/show_bug.cgi?id=11593
Bug in FSF GDB exploited by the ptrace-on-utrace interaction. 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 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 5a99de75e1..6a0c15b239 100644 index 5a99de75e1..6a0c15b239 100644
@ -29,6 +26,3 @@ index 5a99de75e1..6a0c15b239 100644
old_loc->owner = NULL; old_loc->owner = NULL;
VEC_safe_push (bp_location_p, moribund_locations, old_loc); VEC_safe_push (bp_location_p, moribund_locations, old_loc);
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-opcodes-clflushopt-test.patch
;; Test clflushopt instruction decode (for RH BZ 1262471). ;; Test clflushopt instruction decode (for RH BZ 1262471).
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.arch/amd64-clflushopt.S b/gdb/testsuite/gdb.arch/amd64-clflushopt.S
new file mode 100644 new file mode 100644
index 0000000000..dee4f006dc
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/amd64-clflushopt.S +++ b/gdb/testsuite/gdb.arch/amd64-clflushopt.S
@@ -0,0 +1,19 @@ @@ -0,0 +1,19 @@
@ -41,7 +34,6 @@ index 0000000000..dee4f006dc
+ clflushopt (%edi) + clflushopt (%edi)
diff --git a/gdb/testsuite/gdb.arch/amd64-clflushopt.exp b/gdb/testsuite/gdb.arch/amd64-clflushopt.exp diff --git a/gdb/testsuite/gdb.arch/amd64-clflushopt.exp b/gdb/testsuite/gdb.arch/amd64-clflushopt.exp
new file mode 100644 new file mode 100644
index 0000000000..22a9decee2
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/amd64-clflushopt.exp +++ b/gdb/testsuite/gdb.arch/amd64-clflushopt.exp
@@ -0,0 +1,25 @@ @@ -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" +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

View File

@ -9,24 +9,9 @@ FileName: gdb-physname-pr11734-test.patch
;;=fedoratest ;;=fedoratest
http://sourceware.org/ml/gdb-patches/2010-12/msg00263.html 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 diff --git a/gdb/testsuite/gdb.cp/pr11734-1.cc b/gdb/testsuite/gdb.cp/pr11734-1.cc
new file mode 100644 new file mode 100644
index 0000000000..f3480ce977
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-1.cc +++ b/gdb/testsuite/gdb.cp/pr11734-1.cc
@@ -0,0 +1,30 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/pr11734-2.cc b/gdb/testsuite/gdb.cp/pr11734-2.cc
new file mode 100644 new file mode 100644
index 0000000000..dbebe8281a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-2.cc +++ b/gdb/testsuite/gdb.cp/pr11734-2.cc
@@ -0,0 +1,27 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/pr11734-3.cc b/gdb/testsuite/gdb.cp/pr11734-3.cc
new file mode 100644 new file mode 100644
index 0000000000..faaeffc9dd
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-3.cc +++ b/gdb/testsuite/gdb.cp/pr11734-3.cc
@@ -0,0 +1,27 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/pr11734-4.cc b/gdb/testsuite/gdb.cp/pr11734-4.cc
new file mode 100644 new file mode 100644
index 0000000000..6edf8110f1
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734-4.cc +++ b/gdb/testsuite/gdb.cp/pr11734-4.cc
@@ -0,0 +1,27 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/pr11734.exp b/gdb/testsuite/gdb.cp/pr11734.exp
new file mode 100644 new file mode 100644
index 0000000000..e731d422f6
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734.exp +++ b/gdb/testsuite/gdb.cp/pr11734.exp
@@ -0,0 +1,55 @@ @@ -0,0 +1,55 @@
@ -222,7 +203,6 @@ index 0000000000..e731d422f6
+return 0 +return 0
diff --git a/gdb/testsuite/gdb.cp/pr11734.h b/gdb/testsuite/gdb.cp/pr11734.h diff --git a/gdb/testsuite/gdb.cp/pr11734.h b/gdb/testsuite/gdb.cp/pr11734.h
new file mode 100644 new file mode 100644
index 0000000000..7f6e72a685
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr11734.h +++ b/gdb/testsuite/gdb.cp/pr11734.h
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -254,6 +234,3 @@ index 0000000000..7f6e72a685
+ void foo (char *); + void foo (char *);
+}; +};
+ +
--
2.14.3

View File

@ -9,16 +9,9 @@ FileName: gdb-physname-pr12273-test.patch
;;=fedoratest ;;=fedoratest
http://sourceware.org/ml/gdb-patches/2010-12/msg00264.html 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 diff --git a/gdb/testsuite/gdb.cp/pr12273.cc b/gdb/testsuite/gdb.cp/pr12273.cc
new file mode 100644 new file mode 100644
index 0000000000..79dd7bad74
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr12273.cc +++ b/gdb/testsuite/gdb.cp/pr12273.cc
@@ -0,0 +1,37 @@ @@ -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 diff --git a/gdb/testsuite/gdb.cp/pr12273.exp b/gdb/testsuite/gdb.cp/pr12273.exp
new file mode 100644 new file mode 100644
index 0000000000..9d71482742
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.cp/pr12273.exp +++ b/gdb/testsuite/gdb.cp/pr12273.exp
@@ -0,0 +1,46 @@ @@ -0,0 +1,46 @@
@ -111,6 +103,3 @@ index 0000000000..9d71482742
+} +}
+ +
+gdb_exit +gdb_exit
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-ppc-power7-test.patch
;; Test power7 ppc disassembly. ;; Test power7 ppc disassembly.
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.arch/powerpc-power7rh.exp b/gdb/testsuite/gdb.arch/powerpc-power7rh.exp
new file mode 100644 new file mode 100644
index 0000000000..0c2bbdaede
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.exp +++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.exp
@@ -0,0 +1,178 @@ @@ -0,0 +1,178 @@
@ -200,7 +193,6 @@ index 0000000000..0c2bbdaede
+func_check 0x19c "isel r2,r3,r4,28" +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 diff --git a/gdb/testsuite/gdb.arch/powerpc-power7rh.s b/gdb/testsuite/gdb.arch/powerpc-power7rh.s
new file mode 100644 new file mode 100644
index 0000000000..98b2e797e7
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.s +++ b/gdb/testsuite/gdb.arch/powerpc-power7rh.s
@@ -0,0 +1,107 @@ @@ -0,0 +1,107 @@
@ -311,6 +303,3 @@ index 0000000000..98b2e797e7
+ .long 0xedc07834 /* 194: frsqrtes f14,f15 */ + .long 0xedc07834 /* 194: frsqrtes f14,f15 */
+ .long 0xedc07835 /* 198: frsqrtes. f14,f15 */ + .long 0xedc07835 /* 198: frsqrtes. f14,f15 */
+ .long 0x7c43271e /* 19c: isel r2,r3,r4,28 */ + .long 0x7c43271e /* 19c: isel r2,r3,r4,28 */
--
2.14.3

View File

@ -34,9 +34,6 @@ gdb/ChangeLog
2018-02-04 Jan Kratochvil <jan.kratochvil@redhat.com> 2018-02-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* rs6000-tdep.c (skip_prologue): Fix stwux encoding. * 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 diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 23d0db3b8f..5275ff5b91 100644 index 23d0db3b8f..5275ff5b91 100644
@ -51,6 +48,3 @@ index 23d0db3b8f..5275ff5b91 100644
{ /* stwux rX,r1,rY */ { /* stwux rX,r1,rY */
/* No way to figure out what r1 is going to be. */ /* No way to figure out what r1 is going to be. */
fdata->frameless = 0; fdata->frameless = 0;
--
2.14.3

View File

@ -7,17 +7,6 @@ FileName: gdb-python-gil.patch
;; Fix Python GIL with gdb.execute("continue") (Phil Muldoon, BZ 1116957). ;; Fix Python GIL with gdb.execute("continue") (Phil Muldoon, BZ 1116957).
;;=push ;;=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 diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index ebd48fffe7..ccf011e35e 100644 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 diff --git a/gdb/testsuite/gdb.python/py-gil-mthread.c b/gdb/testsuite/gdb.python/py-gil-mthread.c
new file mode 100644 new file mode 100644
index 0000000000..1a12fc9c6d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gil-mthread.c +++ b/gdb/testsuite/gdb.python/py-gil-mthread.c
@@ -0,0 +1,13 @@ @@ -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 diff --git a/gdb/testsuite/gdb.python/py-gil-mthread.exp b/gdb/testsuite/gdb.python/py-gil-mthread.exp
new file mode 100644 new file mode 100644
index 0000000000..a89c16a45b
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gil-mthread.exp +++ b/gdb/testsuite/gdb.python/py-gil-mthread.exp
@@ -0,0 +1,69 @@ @@ -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 diff --git a/gdb/testsuite/gdb.python/py-gil-mthread.py b/gdb/testsuite/gdb.python/py-gil-mthread.py
new file mode 100644 new file mode 100644
index 0000000000..6a89964139
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/py-gil-mthread.py +++ b/gdb/testsuite/gdb.python/py-gil-mthread.py
@@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
@ -257,6 +243,3 @@ index 0000000000..6a89964139
+ +
+while 1: +while 1:
+ pass + pass
--
2.14.3

View File

@ -7,9 +7,6 @@ FileName: gdb-readline62-ask-more-rh.patch
;; Work around readline-6.2 incompatibility not asking for --more-- (BZ 701131). ;; Work around readline-6.2 incompatibility not asking for --more-- (BZ 701131).
;;=fedora ;;=fedora
---
gdb/event-top.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gdb/event-top.c b/gdb/event-top.c diff --git a/gdb/event-top.c b/gdb/event-top.c
index 0d668f35e0..4aa26125f9 100644 index 0d668f35e0..4aa26125f9 100644
@ -29,6 +26,3 @@ index 0d668f35e0..4aa26125f9 100644
/* This function is a noop for the sync case. The assumption is /* 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 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 mess it up here. The sync stuff should really go away over
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-rhbz-818343-set-solib-absolute-prefix-testcase.patch
;; Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343). ;; Testcase for `Setting solib-absolute-prefix breaks vDSO' (BZ 818343).
;;=fedoratest ;;=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 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 new file mode 100644
index 0000000000..2675a34f1a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.c +++ b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.c
@@ -0,0 +1,26 @@ @@ -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 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 new file mode 100644
index 0000000000..bb4c8b962b
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp +++ b/gdb/testsuite/gdb.base/set-solib-absolute-prefix.exp
@@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
@ -91,6 +83,3 @@ index 0000000000..bb4c8b962b
+ ".*warning: Unable to find dynamic linker breakpoint function.*" \ + ".*warning: Unable to find dynamic linker breakpoint function.*" \
+ "set solib-absolute-prefix" + "set solib-absolute-prefix"
+gdb_test "bt" "__kernel_vsyscall.*" "backtrace with __kernel_vsyscall" +gdb_test "bt" "__kernel_vsyscall.*" "backtrace with __kernel_vsyscall"
--
2.14.3

View File

@ -29,18 +29,9 @@ Date: Wed Mar 28 17:38:08 2012 +0000
* python/py-inferior.c (infpy_read_memory): Remove cleanups and * python/py-inferior.c (infpy_read_memory): Remove cleanups and
explicitly free 'buffer' on exit paths. Decref 'membuf_object' explicitly free 'buffer' on exit paths. Decref 'membuf_object'
before returning. 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 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 new file mode 100644
index 0000000000..f2697efa9a
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,27 @@ @@ -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 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 new file mode 100644
index 0000000000..2e6786d499
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,68 @@ @@ -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 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 new file mode 100644
index 0000000000..e807728047
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,30 @@ @@ -0,0 +1,30 @@
@ -181,6 +170,3 @@ index 0000000000..e807728047
+ print "Hello, World!" + print "Hello, World!"
+ +
+HelloWorld () +HelloWorld ()
--
2.14.3

View File

@ -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 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 RHEL-7.1 s390x/ppc64 boxes, and then taking the "select.o" file
present at $builddir/misc/select.o. 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 diff --git a/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp
new file mode 100644 new file mode 100644
index 0000000000..2f54c1f981
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp +++ b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.exp
@@ -0,0 +1,34 @@ @@ -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" +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 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 new file mode 100644
index 0000000000..9196bbac47
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu +++ b/gdb/testsuite/gdb.arch/ppc64-prologue-skip.o.uu
@@ -0,0 +1,70 @@ @@ -0,0 +1,70 @@
@ -141,7 +129,6 @@ index 0000000000..9196bbac47
+end +end
diff --git a/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp b/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp diff --git a/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp b/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp
new file mode 100644 new file mode 100644
index 0000000000..df3acf8c02
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp +++ b/gdb/testsuite/gdb.arch/s390x-prologue-skip.exp
@@ -0,0 +1,34 @@ @@ -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" +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 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 new file mode 100644
index 0000000000..6442e6048d
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu +++ b/gdb/testsuite/gdb.arch/s390x-prologue-skip.o.uu
@@ -0,0 +1,64 @@ @@ -0,0 +1,64 @@
@ -249,6 +235,3 @@ index 0000000000..6442e6048d
+L````(`````$````%````````````````````/`````$````%`````````$@` +L````(`````$````%````````````````````/`````$````%`````````$@`
+` +`
+end +end
--
2.14.3

View File

@ -43,16 +43,9 @@ Author: Philippe Waroquiers <philippe@sourceware.org>
Date: Tue May 21 18:47:05 2013 +0000 Date: Tue May 21 18:47:05 2013 +0000
Fix internal error caused by interaction between catch signal and fork 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 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 new file mode 100644
index 0000000000..947258e22f
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c +++ b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.c
@@ -0,0 +1,11 @@ @@ -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 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 new file mode 100644
index 0000000000..96d31d7018
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp +++ b/gdb/testsuite/gdb.base/gdb-rhbz1149205-catch-syscall-fork.exp
@@ -0,0 +1,58 @@ @@ -0,0 +1,58 @@
@ -131,6 +123,3 @@ index 0000000000..96d31d7018
+gdb_test "continue" \ +gdb_test "continue" \
+ "Continuing\.\r\n.*\r\nCatchpoint $decimal \\\(call to syscall .?chdir.?.*" \ + "Continuing\.\r\n.*\r\nCatchpoint $decimal \\\(call to syscall .?chdir.?.*" \
+ "continue from catch syscall after fork" + "continue from catch syscall after fork"
--
2.14.3

View File

@ -8,20 +8,9 @@ FileName: gdb-rhbz1156192-recursive-dlopen-test.patch
;; Testcase for '[SAP] Recursive dlopen causes SAP HANA installer to ;; Testcase for '[SAP] Recursive dlopen causes SAP HANA installer to
;; crash.' (RH BZ 1156192). ;; crash.' (RH BZ 1156192).
;;=fedoratest ;;=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 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 new file mode 100644
index 0000000000..6ecf50d2ad
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c +++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libbar.c
@@ -0,0 +1,30 @@ @@ -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 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 new file mode 100644
index 0000000000..e4523933db
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c +++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen-libfoo.c
@@ -0,0 +1,30 @@ @@ -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 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 new file mode 100644
index 0000000000..17b29904ef
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c +++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.c
@@ -0,0 +1,124 @@ @@ -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 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 new file mode 100644
index 0000000000..2c32676e50
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp +++ b/gdb/testsuite/gdb.base/gdb-rhbz1156192-recursive-dlopen.exp
@@ -0,0 +1,137 @@ @@ -0,0 +1,137 @@
@ -364,6 +350,3 @@ index 0000000000..2c32676e50
+} +}
+ +
+test_stop_on_solib_events +test_stop_on_solib_events
--
2.14.3

View File

@ -20,18 +20,9 @@ Comments from Sergio Durigan Junior:
allows the user to continue the debugging session), and tell the allows the user to continue the debugging session), and tell the
user that, although more than one location was found for his/her user that, although more than one location was found for his/her
breakpoint, only one will be used. 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 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 new file mode 100644
index 0000000000..1c9f8eabc1
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,22 @@ @@ -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 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 new file mode 100644
index 0000000000..007854b0c4
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,26 @@ @@ -0,0 +1,26 @@
@ -91,7 +81,6 @@ index 0000000000..007854b0c4
+C b (1); +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 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 new file mode 100644
index 0000000000..19b2530969
--- /dev/null --- /dev/null
+++ b/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
@@ -0,0 +1,51 @@ @@ -0,0 +1,51 @@
@ -146,6 +135,3 @@ index 0000000000..19b2530969
+gdb_test "run" +gdb_test "run"
+ +
+gdb_test "info break" " in C::C\\(\\) at .* in C::C\\(int\\) at .*" +gdb_test "info break" " in C::C\\(\\) at .* in C::C\\(int\\) at .*"
--
2.14.3

View File

@ -7,16 +7,9 @@ FileName: gdb-rhbz1261564-aarch64-hw-watchpoint-test.patch
;; [aarch64] Fix hardware watchpoints (RH BZ 1261564). ;; [aarch64] Fix hardware watchpoints (RH BZ 1261564).
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c
new file mode 100644 new file mode 100644
index 0000000000..085001d7f3
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c +++ b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.c
@@ -0,0 +1,33 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp
new file mode 100644 new file mode 100644
index 0000000000..49bb975602
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp +++ b/gdb/testsuite/gdb.base/rhbz1261564-aarch64-watchpoint.exp
@@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
@ -112,6 +104,3 @@ index 0000000000..49bb975602
+setup_xfail "powerpc*-*-*" +setup_xfail "powerpc*-*-*"
+ +
+gdb_continue_to_end +gdb_continue_to_end
--
2.14.3

View File

@ -7,18 +7,9 @@ FileName: gdb-rhbz1325795-framefilters-test.patch
;; New test for Python "Cannot locate object file for block" (for RH BZ 1325795). ;; New test for Python "Cannot locate object file for block" (for RH BZ 1325795).
;;=fedoratest ;;=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 diff --git a/gdb/testsuite/gdb.python/py-framefilter-thread.c b/gdb/testsuite/gdb.python/py-framefilter-thread.c
new file mode 100644 new file mode 100644
index 0000000000..6cebabb67a
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/py-framefilter-thread.c +++ b/gdb/testsuite/gdb.python/py-framefilter-thread.c
@@ -0,0 +1,39 @@ @@ -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 diff --git a/gdb/testsuite/gdb.python/py-framefilter-thread.exp b/gdb/testsuite/gdb.python/py-framefilter-thread.exp
new file mode 100644 new file mode 100644
index 0000000000..71f9746337
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/py-framefilter-thread.exp +++ b/gdb/testsuite/gdb.python/py-framefilter-thread.exp
@@ -0,0 +1,54 @@ @@ -0,0 +1,54 @@
@ -123,7 +113,6 @@ index 0000000000..71f9746337
+gdb_test "bt" " in \[0-9\]+ \[^\r\n\]*" "bt with filters" +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 diff --git a/gdb/testsuite/gdb.python/py-framefilter-thread.py b/gdb/testsuite/gdb.python/py-framefilter-thread.py
new file mode 100644 new file mode 100644
index 0000000000..8964799408
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.python/py-framefilter-thread.py +++ b/gdb/testsuite/gdb.python/py-framefilter-thread.py
@@ -0,0 +1,60 @@ @@ -0,0 +1,60 @@
@ -187,6 +176,3 @@ index 0000000000..8964799408
+ return frame_iter + return frame_iter
+ +
+FrameFilter() +FrameFilter()
--
2.14.3

View File

@ -1,7 +1,7 @@
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001 From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
From: Sergio Durigan Junior <sergiodj@redhat.com> From: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Thu, 17 May 2018 15:09:02 -0400 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 FileName: gdb-rhbz1347993-aarch64-hw-watchpoint.patch
@ -95,21 +95,6 @@ gdb/testsuite/ChangeLog
PR breakpoints/19806 and support for PR external/20207. PR breakpoints/19806 and support for PR external/20207.
* gdb.base/watchpoint-unaligned.c: New file. * gdb.base/watchpoint-unaligned.c: New file.
* gdb.base/watchpoint-unaligned.exp: 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 diff --git a/gdb/NEWS b/gdb/NEWS
index f40eb6c390..b7a3bc2635 100644 index f40eb6c390..b7a3bc2635 100644
@ -884,7 +869,6 @@ index e1d4fc8dbc..b5ba6415c0 100644
void aarch64_show_debug_reg_state (struct aarch64_debug_reg_state *state, 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 diff --git a/gdb/testsuite/gdb.base/watchpoint-unaligned.c b/gdb/testsuite/gdb.base/watchpoint-unaligned.c
new file mode 100644 new file mode 100644
index 0000000000..8934de214e
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.c +++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.c
@@ -0,0 +1,96 @@ @@ -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 diff --git a/gdb/testsuite/gdb.base/watchpoint-unaligned.exp b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
new file mode 100644 new file mode 100644
index 0000000000..6bdd4b6d05
--- /dev/null --- /dev/null
+++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp +++ b/gdb/testsuite/gdb.base/watchpoint-unaligned.exp
@@ -0,0 +1,184 @@ @@ -0,0 +1,184 @@
@ -1244,6 +1227,3 @@ index b234762929..d01d283baa 100644
/* Resource limits used by getrlimit and setrlimit. */ /* Resource limits used by getrlimit and setrlimit. */
enum resource_limit_kind enum resource_limit_kind
--
2.14.3

Some files were not shown because too many files have changed in this diff Show More