[obv,commit,patchv3] Fix SIGTERM signal safety (PR gdb/15358)

Message ID 20140324164014.GA1889@host2.jankratochvil.net
State Committed
Headers

Commit Message

Jan Kratochvil March 24, 2014, 4:40 p.m. UTC
  On Mon, 24 Mar 2014 17:33:01 +0100, Yufeng Zhang wrote:
> The patch does fix the failure.  Thanks for your help!

Checked in as obvious:
	d23487918b315cccd04c2b60a7cf7775920caecb


Thanks,
Jan
That "set debug lin-lwp 1" command even is not needed for the functionality of
this testcase.

This patch does fix a testcase error on aarch64-none-elf.

gdb/testsuite/
2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".

Message-ID: <20140323165745.GA23830@host2.jankratochvil.net>
---
 gdb/testsuite/ChangeLog                | 4 ++++
 gdb/testsuite/gdb.base/gdb-sigterm.exp | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 3581132..88ba2a3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@ 
+2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
+
 2014-03-22  Doug Evans  <xdje42@gmail.com>
 
 	* gdb.python/python.exp (python not supported): Verify multi-line
diff --git a/gdb/testsuite/gdb.base/gdb-sigterm.exp b/gdb/testsuite/gdb.base/gdb-sigterm.exp
index b57680d..f52517c 100644
--- a/gdb/testsuite/gdb.base/gdb-sigterm.exp
+++ b/gdb/testsuite/gdb.base/gdb-sigterm.exp
@@ -36,7 +36,6 @@  proc do_test { pass } {
 
     gdb_test_no_output "set range-stepping off" ""
     gdb_test_no_output "set debug infrun 1" ""
-    gdb_test_no_output "set debug lin-lwp 1" ""
 
     set test "run a bit #$pass"
     set abort 1