mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
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-*-*.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-03-27 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (can_single_step_to_signal_handler): Return zero
|
||||||
|
if target is nios2-*-*.
|
||||||
|
|
||||||
2014-03-26 Yao Qi <yao@codesourcery.com>
|
2014-03-26 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* lib/gdb.exp (readline_is_used): New proc.
|
* lib/gdb.exp (readline_is_used): New proc.
|
||||||
|
@ -1792,7 +1792,8 @@ proc can_single_step_to_signal_handler {} {
|
|||||||
# to determine the next instruction addresses, because start of signal
|
# to determine the next instruction addresses, because start of signal
|
||||||
# handler is one of them.
|
# handler is one of them.
|
||||||
if { [istarget "arm*-*-*"] || [istarget "mips*-*-*"]
|
if { [istarget "arm*-*-*"] || [istarget "mips*-*-*"]
|
||||||
|| [istarget "tic6x-*-*"] || [istarget "sparc*-*-linux*"] } {
|
|| [istarget "tic6x-*-*"] || [istarget "sparc*-*-linux*"]
|
||||||
|
|| [istarget "nios2-*-*"] } {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user