2011-06-01 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Wed, 1 Jun 2011 15:55:55 +0000 (15:55 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 1 Jun 2011 15:55:55 +0000 (15:55 +0000)
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ending-run.exp

index eab307b1297df4a0e0c51014f4a73ddc5dfd9d89..5e1ce3ce255f15de9bb13aae212cafbbb18cfca9 100644 (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
index 9d1134de7ef6d9659b991b4e975f0c7cc573035a..0098f046278efa92e59c34edec34a63e4bc35a85 100644 (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,