aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-06-01 15:55:55 +0000
committerYao Qi <yao@codesourcery.com>2011-06-01 15:55:55 +0000
commitdbc0f131677265e98096c30a4158ac6690a49671 (patch)
tree1fb0ee93b35bf076458b37b200d924204f222ef1 /gdb/testsuite/gdb.base/ending-run.exp
parentf4b8c29b8aa1c6a703848c140f2979da17287d45 (diff)
downloadfsf-binutils-gdb-dbc0f131677265e98096c30a4158ac6690a49671.zip
fsf-binutils-gdb-dbc0f131677265e98096c30a4158ac6690a49671.tar.gz
fsf-binutils-gdb-dbc0f131677265e98096c30a4158ac6690a49671.tar.bz2
2011-06-01 Yao Qi <yao@codesourcery.com>
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index 9d1134d..0098f04 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -195,6 +195,10 @@ gdb_test_multiple "next" "step out of main" {
-re ".*Program received signal SIGTRAP.*$gdb_prompt $" {
pass "step out of main"
}
+ -re ".*in.*__uClibc_main.*$gdb_prompt $" {
+ # This is what happens on system using uClibc.
+ pass "step out of main"
+ }
}
# When we're talking to a program running on a real stand-alone board,