- Fixed the kernel VDSO loading (`warning: no loadable sections found in
...'). - Fix the testcase for pending signals (from BZ 233852).
This commit is contained in:
parent
add1a2d48d
commit
dd40115f74
3 changed files with 104 additions and 10 deletions
|
|
@ -684,7 +684,7 @@
|
|||
+}
|
||||
--- /dev/null 1 Jan 1970 00:00:00 -0000
|
||||
+++ ./gdb/testsuite/gdb.threads/attach-stopped.exp 29 Jun 2007 22:06:06 -0000
|
||||
@@ -0,0 +1,213 @@
|
||||
@@ -0,0 +1,219 @@
|
||||
+# Copyright 2005-2007
|
||||
+
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -792,10 +792,13 @@
|
|||
+ # Avoid some race:
|
||||
+ sleep 2
|
||||
+
|
||||
+ set fileid [open /proc/${testpid}/status r];
|
||||
+ gets $fileid line1;
|
||||
+ gets $fileid line2;
|
||||
+ close $fileid;
|
||||
+ if [catch {open /proc/${testpid}/status r} fileid] {
|
||||
+ set line2 "NOTFOUND"
|
||||
+ } else {
|
||||
+ gets $fileid line1;
|
||||
+ gets $fileid line2;
|
||||
+ close $fileid;
|
||||
+ }
|
||||
+
|
||||
+ set test "$threadtype: attach1, exit leaves process stopped"
|
||||
+ if {[string match "*(stopped)*" $line2]} {
|
||||
|
|
@ -861,10 +864,13 @@
|
|||
+
|
||||
+ # At this point, the process should be sleeping
|
||||
+
|
||||
+ set fileid2 [open /proc/${testpid}/status r];
|
||||
+ gets $fileid2 line1;
|
||||
+ gets $fileid2 line2;
|
||||
+ close $fileid2;
|
||||
+ if [catch {open /proc/${testpid}/status r} fileid2] {
|
||||
+ set line2 "NOTFOUND"
|
||||
+ } else {
|
||||
+ gets $fileid2 line1;
|
||||
+ gets $fileid2 line2;
|
||||
+ close $fileid2;
|
||||
+ }
|
||||
+
|
||||
+ set test "$threadtype: attach2, exit leaves process sleeping"
|
||||
+ if {[string match "*(sleeping)*" $line2]} {
|
||||
|
|
|
|||
Loading…
Reference in a new issue