aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-11-16 17:31:22 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2019-01-13 13:34:43 -0800
commit1a782351162b1158484923493b567231d1aec7d2 (patch)
tree8ad1fb89b101424aa9a2c680a1fceef4c72fa31a /ld
parentf589354db4c983696fe1db791763823aec83f8fa (diff)
downloadgdb-1a782351162b1158484923493b567231d1aec7d2.zip
gdb-1a782351162b1158484923493b567231d1aec7d2.tar.gz
gdb-1a782351162b1158484923493b567231d1aec7d2.tar.bz2
gdb: xtensa: fix register counters for xtensa-linux
Commit 37d9e0623102 ("gdb: xtensa: handle privileged registers") changed how the tdep->num_regs and tdep->num_pseudo_regs are calculated, but didn't update these numbers in the gdbarch for the xtensa-linux target. As a result xtensa-linux-gdb behaves as xtensa-elf-gdb and cannot communicate with the linux gdbserver. Fix tdep->num_pseudo_regs calculation and call set_gdbarch_num_regs and set_gdbarch_num_pseudo_regs in xtensa_linux_init_abi. gdb/ 2019-01-13 Max Filippov <jcmvbkbc@gmail.com> * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and set_gdbarch_num_pseudo_regs.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions