diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-05-30 13:00:32 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-08-31 11:59:02 +0300 |
commit | 90b81c5f158b2b0565ce5c45270103cc0cfb5b1b (patch) | |
tree | 39821b049229fd49f0eb8a5590eab0abcf432035 /gold/merge.cc | |
parent | d3435ae8ddeb3245b1358504f5382879f7fc04a7 (diff) | |
download | gdb-90b81c5f158b2b0565ce5c45270103cc0cfb5b1b.zip gdb-90b81c5f158b2b0565ce5c45270103cc0cfb5b1b.tar.gz gdb-90b81c5f158b2b0565ce5c45270103cc0cfb5b1b.tar.bz2 |
xtensa: initialize call_abi in xtensa_tdep
Use XSHAL_ABI value provided by xtensa-config.h to correctly initialize
xtensa_tdep.call_abi
This fixes calls to functions from GDB that otherwise fail with the
following assertion in call0 configuration:
gdb/regcache.c:602: internal-error: regcache_raw_read: Assertion
`regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.
2015-08-31 Max Filippov <jcmvbkbc@gmail.com>
gdb/
* xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Initialize
call_abi using XSHAL_ABI macro.
Diffstat (limited to 'gold/merge.cc')
0 files changed, 0 insertions, 0 deletions