diff options
author | Yao Qi <yao@codesourcery.com> | 2011-09-18 02:36:27 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-09-18 02:36:27 +0000 |
commit | ab254057b844245b5db8d8faa397c1f69f48c889 (patch) | |
tree | 6e2309fce74d98c098ce84df1eb599024d96b1ba /gdb/testsuite/gdb.base | |
parent | f5b1e24db05c9e804b8c2dc46ab6712a98a04b9f (diff) | |
download | gdb-ab254057b844245b5db8d8faa397c1f69f48c889.zip gdb-ab254057b844245b5db8d8faa397c1f69f48c889.tar.gz gdb-ab254057b844245b5db8d8faa397c1f69f48c889.tar.bz2 |
gdb/testsuite/
* lib/gdb.exp (can_single_step_to_signal_handler): New.
* gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
support single step to signal handler.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/kill-after-signal.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/kill-after-signal.exp b/gdb/testsuite/gdb.base/kill-after-signal.exp index eecad2e..8bb0659 100644 --- a/gdb/testsuite/gdb.base/kill-after-signal.exp +++ b/gdb/testsuite/gdb.base/kill-after-signal.exp @@ -14,6 +14,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. set testfile "kill-after-signal" + +if { ![can_single_step_to_signal_handler] } { + untested ${testfile}.exp + return +} + if [prepare_for_testing ${testfile}.exp ${testfile}] { return -1 } |