From dbc0f131677265e98096c30a4158ac6690a49671 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 1 Jun 2011 15:55:55 +0000 Subject: [PATCH] 2011-06-01 Yao Qi * gdb.base/ending-run.exp: Match __uClibc_main for uClibc. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/ending-run.exp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eab307b1297..5e1ce3ce255 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-06-01 Yao Qi + + * gdb.base/ending-run.exp: Match __uClibc_main for uClibc. + 2010-05-31 Keith Seitz PR c++/12750 diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index 9d1134de7ef..0098f046278 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, -- 2.30.2