aboutsummaryrefslogtreecommitdiff
path: root/gold/workqueue-threads.cc
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-06-29 14:51:41 +0100
committerYao Qi <yao.qi@linaro.org>2016-06-29 14:51:41 +0100
commit28244707d9e4f35cab1f9069cee1d44b38be095f (patch)
tree541e8d500c19b591e1855ab6835c3f5b13d2a70b /gold/workqueue-threads.cc
parent042c94de565ae62640c064f1cb33d28484aeb9d3 (diff)
downloadgdb-28244707d9e4f35cab1f9069cee1d44b38be095f.zip
gdb-28244707d9e4f35cab1f9069cee1d44b38be095f.tar.gz
gdb-28244707d9e4f35cab1f9069cee1d44b38be095f.tar.bz2
Set unknown_syscall differently on arm linux
Currently, we use 123456789 as unknown or illegal syscall number, and expect program return ENOSYS. Although 123456789 is an illegal syscall number on arm linux, kernel sends SIGILL rather than returns -ENOSYS. However, arm linux kernel returns -ENOSYS if syscall number is within 0xf0001..0xf07ff, so we can use 0xf07ff for unknown_syscall in test. gdb/testsuite: 2016-06-29 Yao Qi <yao.qi@linaro.org> * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to 0x0f07ff.
Diffstat (limited to 'gold/workqueue-threads.cc')
0 files changed, 0 insertions, 0 deletions