aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-gnu-tdep.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-09-04 11:33:56 +0100
committerYao Qi <yao.qi@linaro.org>2017-09-04 11:33:56 +0100
commitd78bdb54ac94e1c38dc4b8f0d50b5fd202890887 (patch)
tree726cfc63c1880fe0cf99904f18392ae5eeeb0283 /gdb/i386-gnu-tdep.c
parentca1fa5eef2912262a0a33875e9a23f2e79a72328 (diff)
downloadgdb-d78bdb54ac94e1c38dc4b8f0d50b5fd202890887.zip
gdb-d78bdb54ac94e1c38dc4b8f0d50b5fd202890887.tar.gz
gdb-d78bdb54ac94e1c38dc4b8f0d50b5fd202890887.tar.bz2
Return X86_XSTATE_SSE_MASK instead of 0 in i386fbsd_core_read_xcr0
i386fbsd_core_read_xcr0 reads the value of xcr0 from the corefile. If it fails, returns 0. This makes its caller {i386,amd64}_target_description has to handle this special value. IMO, i386fbsd_core_read_xcr0 should return the default xcr0 in case of error. gdb: 2017-09-04 Yao Qi <yao.qi@linaro.org> * i386-fbsd-tdep.c (i386fbsd_core_read_xcr0): Return X86_XSTATE_SSE_MASK instead of 0.
Diffstat (limited to 'gdb/i386-gnu-tdep.c')
0 files changed, 0 insertions, 0 deletions