Rebase onto fedora f29 @c720d998
8.2 release OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=187
This commit is contained in:
@@ -3,8 +3,6 @@ From: Fedora GDB patches <invalid@email.com>
|
||||
Date: Fri, 27 Oct 2017 21:07:50 +0200
|
||||
Subject: gdb-test-pid0-core.patch
|
||||
|
||||
FileName: gdb-test-pid0-core.patch
|
||||
|
||||
;; New test gdb.arch/x86_64-pid0-core.exp for kernel PID 0 cores (BZ 611435).
|
||||
;;=fedoratest
|
||||
|
||||
@@ -15,16 +13,9 @@ Re: [RFA]corelow.c: Add tid to add_to_thread_list
|
||||
http://sourceware.org/ml/gdb-patches/2010-08/msg00085.html
|
||||
http://sourceware.org/ml/gdb-cvs/2010-08/msg00026.html
|
||||
2e5bcfdef1ec3883d48c3f87a4be5c0dff25e17e
|
||||
---
|
||||
.../gdb.arch/x86_64-pid0-core.core.bz2.uu | 20 ++++++++++
|
||||
gdb/testsuite/gdb.arch/x86_64-pid0-core.exp | 46 ++++++++++++++++++++++
|
||||
2 files changed, 66 insertions(+)
|
||||
create mode 100644 gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu
|
||||
create mode 100644 gdb/testsuite/gdb.arch/x86_64-pid0-core.exp
|
||||
|
||||
diff --git a/gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu b/gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu
|
||||
new file mode 100644
|
||||
index 0000000000..4c8200c243
|
||||
--- /dev/null
|
||||
+++ b/gdb/testsuite/gdb.arch/x86_64-pid0-core.core.bz2.uu
|
||||
@@ -0,0 +1,20 @@
|
||||
@@ -50,7 +41,6 @@ index 0000000000..4c8200c243
|
||||
+end
|
||||
diff --git a/gdb/testsuite/gdb.arch/x86_64-pid0-core.exp b/gdb/testsuite/gdb.arch/x86_64-pid0-core.exp
|
||||
new file mode 100644
|
||||
index 0000000000..7a5a1cac19
|
||||
--- /dev/null
|
||||
+++ b/gdb/testsuite/gdb.arch/x86_64-pid0-core.exp
|
||||
@@ -0,0 +1,46 @@
|
||||
@@ -100,6 +90,3 @@ index 0000000000..7a5a1cac19
|
||||
+# Former crash was:
|
||||
+# thread.c:884: internal-error: switch_to_thread: Assertion `inf != NULL' failed.
|
||||
+gdb_test "core-file ${corefile}" "Program terminated with signal (11|SIGSEGV), Segmentation fault\\.\r\n.*"
|
||||
--
|
||||
2.14.3
|
||||
|
||||
|
Reference in New Issue
Block a user