2011-06-01 Yao Qi <yao@codesourcery.com>

* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
This commit is contained in:
Yao Qi 2011-06-01 15:55:55 +00:00
parent f4b8c29b8a
commit dbc0f13167
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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,