Return zero in can_single_step_to_signal_handler for nios2-*-* target
authorYao Qi <yao@codesourcery.com>
Wed, 26 Mar 2014 09:44:14 +0000 (17:44 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 27 Mar 2014 08:34:35 +0000 (16:34 +0800)
commitb5bee914261ea82683b7da4245790465b9373131
tree26f7d2948ddb672043bca36e4eb3a4487c1128d9
parent595330b7cedfac2b073e9ffc6a815221b7121f0c
Return zero in can_single_step_to_signal_handler for nios2-*-* target

nios2 uses software single step, so GDB is unable to single step to
the signal handler.  In order to reflect this, teach
can_single_step_to_signal_handler to return zero for nios2 target.

gdb/testsuite:

2014-03-27  Yao Qi  <yao@codesourcery.com>

* lib/gdb.exp (can_single_step_to_signal_handler): Return zero
if target is nios2-*-*.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp