gdb: xtensa-linux: add call0 support
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 18 Nov 2016 17:48:01 +0000 (09:48 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Mar 2017 19:58:52 +0000 (12:58 -0700)
commit0ce4291e3ffd90d2b94e02b4557d716c043bf02e
treec91df410cdd5c4d61f05a7b0286ed86ca6462f02
parentc56054f9a80e157e3d2d5109821abd191b68f0ea
gdb: xtensa-linux: add call0 support

Correctly handle a0- registers. This allows debugging call0 code in
linux natively.
The register structure is the same for windowed and call0 ABIs because
currently linux kernel internally requires windowed registers, so they are
always present.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

* xtensa-linux-nat.c (fill_gregset): Call regcache_raw_collect
for a single specified register or for all registers in
a0_base..a0_base + C0_NREGS range.
(supply_gregset_reg): Call regcache_raw_supply for a single
specified register or for all registers in a0_base..a0_base +
C0_NREGS range.
gdb/ChangeLog
gdb/xtensa-linux-nat.c
This page took 0.02843 seconds and 4 git commands to generate.