aboutsummaryrefslogtreecommitdiff
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
parentf4b8c29b8aa1c6a703848c140f2979da17287d45 (diff)
downloadgdb-dbc0f131677265e98096c30a4158ac6690a49671.zip
gdb-dbc0f131677265e98096c30a4158ac6690a49671.tar.gz
gdb-dbc0f131677265e98096c30a4158ac6690a49671.tar.bz2
2011-06-01 Yao Qi <yao@codesourcery.com>
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index eab307b..5e1ce3c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-01 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
+
2010-05-31 Keith Seitz <keiths@redhat.com>
PR c++/12750
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,