OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae99263
)
(thread_switch): Test for thread-changed annotation.
author
nickrob
<nickrob>
Fri, 6 Jun 2008 00:40:21 +0000
(
00:40
+0000)
committer
nickrob
<nickrob>
Fri, 6 Jun 2008 00:40:21 +0000
(
00:40
+0000)
gdb/testsuite/gdb.base/annota1.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/annota1.exp
b/gdb/testsuite/gdb.base/annota1.exp
index
cd38c94
..
c282e4c
100644
(file)
--- a/
gdb/testsuite/gdb.base/annota1.exp
+++ b/
gdb/testsuite/gdb.base/annota1.exp
@@
-527,7
+527,18
@@
proc thread_test {} {
}
}
+proc thread_switch {} {
+ send_gdb "thread 1\n"
+ gdb_expect {
+ -re ".*\032\032thread-changed" {
+ pass "thread switch"
+ }
+ timeout { fail "thread switch (timeout)" }
+ }
+}
+
thread_test
+thread_switch
# restore the original prompt for the rest of the testsuite