2011-06-28 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Tue, 28 Jun 2011 08:36:18 +0000 (08:36 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 28 Jun 2011 08:36:18 +0000 (08:36 +0000)
commitaf69a5cef74c0fee461cf1dcae8abfe28dd0ca05
treef200cebc7039c7906418721db03734ca42cc7d64
parent9b02d212412d53a8d7e85f5824b1813a9f0a18eb
2011-06-28  Yao Qi  <yao@codesourcery.com>

* gdb.cp/exception.cc: Don't include iostream.
(bar): Remove print statement.
(catcher): New.
(main): Remove print statements.  Call function catcher.
* gdb.cp/exception.exp : Don't match inferior's output in regexp.
Set breakpoint on catcher, and check the value of parameter.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/exception.cc
gdb/testsuite/gdb.cp/exception.exp